fixed some reverted stuff again
This commit is contained in:
@@ -42,10 +42,10 @@ func HostRoutes(botID string) {
|
||||
http.Redirect(w, r, "https://discord.com/oauth2/authorize?client_id="+botID, http.StatusMovedPermanently)
|
||||
})
|
||||
http.HandleFunc("/privacy", func(w http.ResponseWriter, r *http.Request) {
|
||||
handleHTML(w, privacyHTML, "./html/privacy.html")
|
||||
handleHTML(w, privacyHTML, "html/privacy.html")
|
||||
})
|
||||
http.HandleFunc("/tos", func(w http.ResponseWriter, r *http.Request) {
|
||||
handleHTML(w, tosHTML, "./html/tos.html")
|
||||
handleHTML(w, tosHTML, "html/tos.html")
|
||||
})
|
||||
|
||||
var voidWriter io.Writer = io.Discard
|
||||
|
Reference in New Issue
Block a user