From db4dbed39bf0ca4608a2bfbe6866583e1d3ae693 Mon Sep 17 00:00:00 2001 From: Mitchell Gerber Date: Wed, 27 Jul 2016 22:40:39 -0500 Subject: [PATCH] Added new route --- controller/redirect.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/controller/redirect.go b/controller/redirect.go index bf2daaa..e477d21 100644 --- a/controller/redirect.go +++ b/controller/redirect.go @@ -7,14 +7,15 @@ import ( // Redirect to discord func DiscordRedirect(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { - http.Redirect(w, r, "https://discordapp.com/invite/0Z2tzxKECEj2BHwj", 301) - } // Redirect to discord func VPNRedirect(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { - http.Redirect(w, r, "https://mitchel.io:943", 301) - +} + +// Redirect to security cameras +func CameraRedirect(w http.ResponseWriter, r *http.Request, _ httprouter.Params) { + http.Redirect(w, r, "https://24.118.44.161:8080/html/", 301) }