1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-11 18:32:50 +00:00

added redirect for vpn

This commit is contained in:
2016-05-25 14:07:40 -05:00
parent a9303af6d9
commit b92b2f0111
2 changed files with 10 additions and 2 deletions

View File

@@ -6,8 +6,15 @@ import (
)
// Redirect to discord
func Discord(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {
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)
}