From 07a21a8d5b2624eece752f68486f6a4189af830a Mon Sep 17 00:00:00 2001 From: a Date: Tue, 17 Sep 2024 17:08:13 -0500 Subject: [PATCH] noot --- modules/caddyfs/filesystem.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/caddyfs/filesystem.go b/modules/caddyfs/filesystem.go index fdb9e781..12be82e9 100644 --- a/modules/caddyfs/filesystem.go +++ b/modules/caddyfs/filesystem.go @@ -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 }