1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-10 01:42:55 +00:00

moved server to separate repo

This commit is contained in:
2016-08-28 19:21:54 -05:00
parent 1c224f95ab
commit 29448c29a8
13 changed files with 2 additions and 796 deletions

View File

@@ -1,22 +0,0 @@
package controller
import (
"github.com/julienschmidt/httprouter"
"net/http"
)
// redirects for personal use
// 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, "http://24.118.44.161:8080/html/", 301)
}