local.css lives in datadir. noticed by sebastian

This commit is contained in:
Ted Unangst 2021-01-18 16:58:04 -05:00
parent 5b88d4d183
commit 758ad54a04
1 changed files with 1 additions and 1 deletions

2
web.go
View File

@ -78,7 +78,7 @@ func getInfo(r *http.Request) map[string]interface{} {
u := login.GetUserInfo(r) u := login.GetUserInfo(r)
templinfo := make(map[string]interface{}) templinfo := make(map[string]interface{})
templinfo["StyleParam"] = getassetparam(viewDir + "/views/style.css") 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["JSParam"] = getassetparam(viewDir + "/views/honkpage.js")
templinfo["UserStyle"] = getuserstyle(u) templinfo["UserStyle"] = getuserstyle(u)
templinfo["ServerName"] = serverName templinfo["ServerName"] = serverName