This commit is contained in:
commit
f4c4c8a917
3
web.go
3
web.go
|
@ -81,8 +81,8 @@ func getInfo(r *http.Request) map[string]interface{} {
|
||||||
templinfo["StyleParam"] = getassetparam(viewDir + "/views/style.css")
|
templinfo["StyleParam"] = getassetparam(viewDir + "/views/style.css")
|
||||||
templinfo["LocalStyleParam"] = getassetparam(dataDir + "/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["MiscJSParam"] = getassetparam(viewDir + "/views/misc.js")
|
||||||
templinfo["LocalJSParam"] = getassetparam(dataDir + "/views/local.js")
|
templinfo["LocalJSParam"] = getassetparam(dataDir + "/views/local.js")
|
||||||
templinfo["MiscJSParam"] = getassetparam(dataDir + "/views/misc.js")
|
|
||||||
templinfo["ServerName"] = serverName
|
templinfo["ServerName"] = serverName
|
||||||
templinfo["IconName"] = iconName
|
templinfo["IconName"] = iconName
|
||||||
templinfo["UserSep"] = userSep
|
templinfo["UserSep"] = userSep
|
||||||
|
@ -2685,6 +2685,7 @@ func serve() {
|
||||||
viewDir + "/views/style.css",
|
viewDir + "/views/style.css",
|
||||||
dataDir + "/views/local.css",
|
dataDir + "/views/local.css",
|
||||||
viewDir + "/views/honkpage.js",
|
viewDir + "/views/honkpage.js",
|
||||||
|
viewDir + "/views/misc.js",
|
||||||
dataDir + "/views/local.js",
|
dataDir + "/views/local.js",
|
||||||
}
|
}
|
||||||
for _, s := range assets {
|
for _, s := range assets {
|
||||||
|
|
Loading…
Reference in New Issue