From bdb5a2053230030b4e74531327b0e7a88e71a179 Mon Sep 17 00:00:00 2001 From: Wim Brand Date: Tue, 6 Nov 2018 21:40:07 +0100 Subject: [PATCH] move res --- webcontroller/webcontroller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcontroller/webcontroller.go b/webcontroller/webcontroller.go index 2e72787..ab40349 100644 --- a/webcontroller/webcontroller.go +++ b/webcontroller/webcontroller.go @@ -39,7 +39,7 @@ func New(r *httprouter.Router, prefix string, conf *conf.PixelWebConfig) *WebCon var p = prefix // Serve static files - r.ServeFiles(p+"/res/*filepath", http.Dir(wc.staticResourceDir+"/res")) + r.ServeFiles(p+"/res/*filepath", http.Dir(wc.staticResourceDir)) // General navigation r.GET(p+"/" /* */, wc.serveTemplate("home", false))