Fixed files page

This commit is contained in:
Caleb Gardner
2024-08-07 03:36:15 -05:00
parent 1e9eeb25d1
commit da2db3ea9a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ func setupBackend(mux *http.ServeMux) {
func setupWebsite(mux *http.ServeMux) {
url, _ := url.Parse("https://localhost:30000")
mux.Handle("rpg.darkstorm.tech/", httputil.NewSingleHostReverseProxy(url))
mux.HandleFunc("GET /files", filesRequest)
mux.HandleFunc("GET /files/{w...}", filesRequest)
mux.HandleFunc("GET /portfolio", portfolioRequest)
mux.HandleFunc("/", mainHandle)
}