Fixati problemi di BASE_URL e .env

This commit is contained in:
2022-03-14 12:30:34 +01:00
parent 6a5b268eaa
commit 7fd95eafd5
5 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ func main() {
// FIXME: Route temporanea, basta configurare ViteJS per bene
r.Get("/login.html", func(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, "/login", http.StatusTemporaryRedirect)
http.Redirect(w, r, config.Url+"/login", http.StatusTemporaryRedirect)
})
}