repair /front link
This commit is contained in:
parent
47bdc1256b
commit
95f3a714b3
2
web.go
2
web.go
|
@ -85,7 +85,7 @@ func homepage(w http.ResponseWriter, r *http.Request) {
|
||||||
var userid int64 = -1
|
var userid int64 = -1
|
||||||
|
|
||||||
templinfo["ServerMessage"] = serverMsg
|
templinfo["ServerMessage"] = serverMsg
|
||||||
if u == nil {
|
if u == nil || r.URL.Path == "/front" {
|
||||||
switch r.URL.Path {
|
switch r.URL.Path {
|
||||||
case "/events":
|
case "/events":
|
||||||
honks = geteventhonks(userid)
|
honks = geteventhonks(userid)
|
||||||
|
|
Loading…
Reference in New Issue