Commit c0ebe315 authored by Matthew Holt's avatar Matthew Holt

Fix ServerBlockStorage so it actually stores stuff

parent fe7ad8ee
...@@ -90,6 +90,7 @@ func Load(filename string, input io.Reader) (Group, error) { ...@@ -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
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment