Commit 21c26f48 authored by Matthew Holt's avatar Matthew Holt

Ensure a default root is always set in the configs

parent 857b4f90
......@@ -38,6 +38,7 @@ func Load(filename string, input io.Reader) ([]server.Config, error) {
config := server.Config{
Host: sb.Host,
Port: sb.Port,
Root: Root,
Middleware: make(map[string][]middleware.Middleware),
ConfigFile: filename,
AppName: AppName,
......
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