Fix readme example... again

This commit is contained in:
Matthew Holt 2020-04-04 10:01:09 -06:00
parent 35c6866159
commit 1095882d94
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5

View file

@ -20,12 +20,10 @@ builder := xcaddy.Builder{
CaddyVersion: "v2.0.0-rc.1",
Plugins: []xcaddy.Dependency{
{
{
ModulePath: "github.com/caddyserver/nginx-adapter",
Version: "bdbb6db7ff9ad6ceb0dcd93f89e396f6365aa5d4",
},
}
}
ModulePath: "github.com/caddyserver/nginx-adapter",
Version: "bdbb6db7ff9ad6ceb0dcd93f89e396f6365aa5d4",
},
},
}
err := builder.Build("./caddy")
```