aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/api_flags.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-07 16:24:27 -0400
committerhistoria <[not public]>2026-07-07 16:24:27 -0400
commitab2597b22ccdb71116992aec78080d9858358d04 (patch)
tree8beae4060c2831c4a68f92b682b5350cfa1d0afb /internal/admin/api_flags.go
parent3f30fa3eec9c2e2acf9a984ccefb9529a25e688a (diff)
downloadthehouseoficarus-ab2597b22ccdb71116992aec78080d9858358d04.tar.gz
rename flags to global_flags (differentiate from player_flags)
Diffstat (limited to 'internal/admin/api_flags.go')
-rw-r--r--internal/admin/api_flags.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/internal/admin/api_flags.go b/internal/admin/api_flags.go
deleted file mode 100644
index e2594f3..0000000
--- a/internal/admin/api_flags.go
+++ /dev/null
@@ -1,14 +0,0 @@
-package admin
-
-import "net/http"
-
-func (s *AdminServer) handleFlags(w http.ResponseWriter, r *http.Request) {
- if r.Method != http.MethodGet {
- http.Error(w, "method not allowed", http.StatusMethodNotAllowed)
- return
- }
- writeJSON(w, map[string]any{
- "flags": []any{},
- "note": "world flags are in-memory only",
- })
-}