mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-11 18:32:50 +00:00
Added new route
This commit is contained in:
@@ -7,14 +7,15 @@ import (
|
|||||||
|
|
||||||
// Redirect to discord
|
// Redirect to discord
|
||||||
func DiscordRedirect(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)
|
http.Redirect(w, r, "https://discordapp.com/invite/0Z2tzxKECEj2BHwj", 301)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Redirect to discord
|
// Redirect to discord
|
||||||
func VPNRedirect(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {
|
func VPNRedirect(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {
|
||||||
|
|
||||||
http.Redirect(w, r, "https://mitchel.io:943", 301)
|
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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user