mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-29 12:16:16 +08:00
Fix ServerBlockStorage so it actually stores stuff
This commit is contained in:
parent
e2f6c51fb0
commit
acf43857a3
|
@ -90,6 +90,7 @@ func Load(filename string, input io.Reader) (Group, error) {
|
||||||
// TODO: For now, we only support the default path scope /
|
// TODO: For now, we only support the default path scope /
|
||||||
config.Middleware["/"] = append(config.Middleware["/"], midware)
|
config.Middleware["/"] = append(config.Middleware["/"], midware)
|
||||||
}
|
}
|
||||||
|
storages[dir.name] = controller.ServerBlockStorage // persist for this server block
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user