mirror of
https://github.com/caddyserver/website.git
synced 2025-04-22 13:06:16 -04:00
docs: Update config import paths for module example (#10)
Looks like the import path is wrong. Sanity checking against an in-tree module (https://github.com/caddyserver/caddy/blob/v2/modules/filestorage/filestorage.go#L19) seems to confirm this change corrects the import path.
This commit is contained in:
parent
30060ce9af
commit
70733b8e4c
1 changed files with 3 additions and 3 deletions
|
@ -293,8 +293,8 @@ import (
|
|||
"os"
|
||||
|
||||
"github.com/caddyserver/caddy/v2"
|
||||
"github.com/caddyserver/caddy/v2/config/caddyfile"
|
||||
"github.com/caddyserver/caddy/v2/config/httpcaddyfile"
|
||||
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
|
||||
"github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile"
|
||||
"github.com/caddyserver/caddy/v2/modules/caddyhttp"
|
||||
)
|
||||
|
||||
|
@ -372,4 +372,4 @@ var (
|
|||
_ caddyhttp.MiddlewareHandler = (*Middleware)(nil)
|
||||
_ caddyfile.Unmarshaler = (*Middleware)(nil)
|
||||
)
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue