mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-28 17:22:48 -04:00
fix typo
parent
3268df3436
commit
b57688a19d
@ -59,7 +59,7 @@ func setup(c *caddy.Controller) error {
|
||||
}
|
||||
```
|
||||
|
||||
To chain in your new handler, get the config for the current site from the httpserver package. Then wrap your in a middleware function:
|
||||
To chain in your new handler, get the config for the current site from the httpserver package. Then wrap your handler in a middleware function:
|
||||
|
||||
```go
|
||||
cfg := httpserver.GetConfig(c.Key)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user