summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/web.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/web.go b/web/web.go
index 443a75916..e771157d8 100644
--- a/web/web.go
+++ b/web/web.go
@@ -301,7 +301,10 @@ func getChannel(c *api.Context, w http.ResponseWriter, r *http.Request) {
return
}
- api.Handle404(w, r)
+ //api.Handle404(w, r)
+ //Bad channel urls just redirect to the town-square for now
+
+ http.Redirect(w,r,"/channels/town-square", http.StatusFound)
return
}
}