fix README, SYNC, DATENSCHUTZ
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Has been cancelled
Some checks failed
Dynamic Branch Deploy / build-and-deploy (push) Has been cancelled
This commit is contained in:
2
main.go
2
main.go
@@ -35,7 +35,6 @@ func main() {
|
||||
fs := http.FileServer(http.Dir("./static"))
|
||||
http.Handle("/", fs)
|
||||
|
||||
// API Routes (jetzt mit Logger!)
|
||||
http.HandleFunc("/api/config", Logger(handleConfig))
|
||||
http.HandleFunc("/api/start", Logger(handleStart))
|
||||
http.HandleFunc("/api/validate", Logger(handleValidate))
|
||||
@@ -44,7 +43,6 @@ func main() {
|
||||
http.HandleFunc("/api/leaderboard", Logger(handleLeaderboard))
|
||||
http.HandleFunc("/api/claim/delete", Logger(handleClaimDelete))
|
||||
|
||||
// Admin Routes (Logger + BasicAuth kombinieren)
|
||||
http.HandleFunc("/admin", Logger(BasicAuth(handleAdminPage)))
|
||||
http.HandleFunc("/api/admin/badwords", Logger(BasicAuth(handleAdminBadwords)))
|
||||
http.HandleFunc("/api/admin/list", Logger(BasicAuth(handleAdminList)))
|
||||
|
||||
Reference in New Issue
Block a user