mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-16 21:56:40 -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() {
|
||||
caddy.RegisterModule(Filesystems{})
|
||||
httpcaddyfile.RegisterGlobalOption("file_systems", parseFilesystems)
|
||||
httpcaddyfile.RegisterGlobalOption("filesystem", parseFilesystems)
|
||||
}
|
||||
|
||||
type moduleEntry struct {
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue