fixed some reverted stuff again

This commit is contained in:
2024-04-14 20:15:25 +02:00
parent f66851936e
commit 4f65e1c5d7

View File

@@ -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