mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-30 22:34:15 -05:00
noot
This commit is contained in:
parent
cf637dbaa6
commit
07a21a8d5b
1 changed files with 2 additions and 2 deletions
|
@ -15,12 +15,12 @@ import (
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
caddy.RegisterModule(Filesystems{})
|
caddy.RegisterModule(Filesystems{})
|
||||||
httpcaddyfile.RegisterGlobalOption("file_systems", parseFilesystems)
|
httpcaddyfile.RegisterGlobalOption("filesystem", parseFilesystems)
|
||||||
}
|
}
|
||||||
|
|
||||||
type moduleEntry struct {
|
type moduleEntry struct {
|
||||||
Key string `json:"name,omitempty"`
|
Key string `json:"name,omitempty"`
|
||||||
FileSystemRaw json.RawMessage `json:"file_system,omitempty" caddy:"namespace=caddy.fs inline_key=backend"`
|
FileSystemRaw json.RawMessage `json:"filesystem,omitempty" caddy:"namespace=caddy.fs inline_key=backend"`
|
||||||
fileSystem fs.FS
|
fileSystem fs.FS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue