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