Do more things through main web stuff instead of API

This commit is contained in:
Caleb Gardner
2024-11-11 08:00:53 -06:00
parent f04c00c015
commit e183eefee8
6 changed files with 113 additions and 73 deletions
+2 -1
View File
@@ -152,7 +152,8 @@ func setupWebsite(mux *http.ServeMux) {
mux.HandleFunc("GET /portfolio", portfolioRequest)
mux.HandleFunc("GET /list", blogListHandle)
mux.HandleFunc("GET /login", edit.LoginPage)
mux.HandleFunc("GET /editor/", edit.Editor)
mux.HandleFunc("GET /editor", edit.Editor)
mux.HandleFunc("POST /login", edit.TrueLogin)
mux.HandleFunc("/", mainHandle)
}