repair /front link

This commit is contained in:
Ted Unangst 2019-10-20 16:30:28 -04:00
parent 47bdc1256b
commit 95f3a714b3
1 changed files with 1 additions and 1 deletions

2
web.go
View File

@ -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)