Save endgame progress, team presets, technique support and camera controls

This commit is contained in:
CAtlas0784 committed 2026-10-17 23:44:36 +07:00
1 parent a681affdb3
commit 639cef7d19
52 files changed
+11940 -766

No files matched your search

+1 -3
View File
@@ -38,6 +38,7 @@ func corsWrapper(next http.HandlerFunc) http.HandlerFunc {
func registerAPIRoutes(mux *http.ServeMux) {
mux.HandleFunc("/api/status", corsWrapper(apiStatus))
mux.HandleFunc("/api/technique", corsWrapper(apiTechnique))
mux.HandleFunc("/api/freesr", corsWrapper(apiFreesrData))
mux.HandleFunc("/api/freesr/avatars", corsWrapper(apiFreesrAvatars))
mux.HandleFunc("/api/persistent", corsWrapper(apiPersistentData))
@@ -605,7 +606,6 @@ func apiGachabaseFetch(w http.ResponseWriter, r *http.Request) {
}
}
if targetURL == "" {
writeJSON(w, map[string]any{"error": "missing url or id/type parameters", "status": 400})
return
@@ -833,5 +833,3 @@ func apiBattleReportReset(w http.ResponseWriter, r *http.Request) {
"message": "Battle report cleared",
})
}