change name

This commit is contained in:
a 2024-07-21 13:19:23 -05:00
parent c2ccf8690f
commit 06ed6fcf99
No known key found for this signature in database
GPG Key ID: 374BC539FE795AF0
2 changed files with 2 additions and 2 deletions

View File

@ -275,7 +275,7 @@ func (st ServerType) Setup(
cfg.AppsRaw["pki"] = caddyconfig.JSON(pkiApp, &warnings)
}
if filesystems, ok := options["filesystem"].(caddy.Module); ok {
cfg.AppsRaw["caddy.filesystems"] = caddyconfig.JSON(
cfg.AppsRaw["filesystems"] = caddyconfig.JSON(
filesystems,
&warnings)
}

View File

@ -49,7 +49,7 @@ func parseFilesystems(d *caddyfile.Dispenser, existingVal any) (any, error) {
// CaddyModule returns the Caddy module information.
func (Filesystems) CaddyModule() caddy.ModuleInfo {
return caddy.ModuleInfo{
ID: "caddy.filesystems",
ID: "filesystems",
New: func() caddy.Module { return new(Filesystems) },
}
}