From 758ad54a04365a132772984669f68993718d8a67 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Mon, 18 Jan 2021 16:58:04 -0500 Subject: [PATCH] local.css lives in datadir. noticed by sebastian --- web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web.go b/web.go index 11adf5b..679a02b 100644 --- a/web.go +++ b/web.go @@ -78,7 +78,7 @@ func getInfo(r *http.Request) map[string]interface{} { u := login.GetUserInfo(r) templinfo := make(map[string]interface{}) templinfo["StyleParam"] = getassetparam(viewDir + "/views/style.css") - templinfo["LocalStyleParam"] = getassetparam(viewDir + "/views/local.css") + templinfo["LocalStyleParam"] = getassetparam(dataDir + "/views/local.css") templinfo["JSParam"] = getassetparam(viewDir + "/views/honkpage.js") templinfo["UserStyle"] = getuserstyle(u) templinfo["ServerName"] = serverName