This commit is contained in:
Tomas Dvorak
2025-06-18 09:53:16 +02:00
parent 0f74cd2554
commit af49ebf93e
3 changed files with 33 additions and 313 deletions
-1
View File
@@ -141,7 +141,6 @@ func main() {
// Authentication routes
r.HandleFunc("/api/login", LoginHandler).Methods("POST", "OPTIONS")
r.HandleFunc("/api/update-credentials", UpdateCredentialsHandler).Methods("POST", "OPTIONS")
// Public endpoints (must be defined before protected ones)
r.HandleFunc("/api/banner", GetBannerHandler).Methods("GET", "OPTIONS")