From 21c26f48d0a84efc92439548403bbf62052092ec Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 5 May 2015 15:48:40 -0600 Subject: [PATCH] Ensure a default root is always set in the configs --- config/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config/config.go b/config/config.go index bb363c53..dbc8978b 100644 --- a/config/config.go +++ b/config/config.go @@ -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,