mirror of
https://github.com/caddyserver/xcaddy.git
synced 2024-11-08 02:10:10 +00:00
Fix readme example... again
This commit is contained in:
parent
35c6866159
commit
1095882d94
1 changed files with 4 additions and 6 deletions
10
README.md
10
README.md
|
@ -20,12 +20,10 @@ builder := xcaddy.Builder{
|
||||||
CaddyVersion: "v2.0.0-rc.1",
|
CaddyVersion: "v2.0.0-rc.1",
|
||||||
Plugins: []xcaddy.Dependency{
|
Plugins: []xcaddy.Dependency{
|
||||||
{
|
{
|
||||||
{
|
ModulePath: "github.com/caddyserver/nginx-adapter",
|
||||||
ModulePath: "github.com/caddyserver/nginx-adapter",
|
Version: "bdbb6db7ff9ad6ceb0dcd93f89e396f6365aa5d4",
|
||||||
Version: "bdbb6db7ff9ad6ceb0dcd93f89e396f6365aa5d4",
|
},
|
||||||
},
|
},
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
err := builder.Build("./caddy")
|
err := builder.Build("./caddy")
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue