1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
This commit is contained in:
a 2024-09-17 17:08:13 -05:00
parent cf637dbaa6
commit 07a21a8d5b
No known key found for this signature in database
GPG key ID: 374BC539FE795AF0

View file

@ -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
}