From 1f0b4a39b09b72c635d0f2e900cd0d90b3ff3de6 Mon Sep 17 00:00:00 2001 From: nickago Date: Mon, 6 Jul 2015 13:14:51 -0700 Subject: redirected channel name 404's to town square --- web/web.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'web') 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 } } -- cgit v1.2.3-1-g7c22