Skip to content

Commit

Permalink
noot
Browse files Browse the repository at this point in the history
  • Loading branch information
elee1766 committed Sep 17, 2024
1 parent cf637db commit 07a21a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/caddyfs/filesystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 07a21a8

Please sign in to comment.