WIP: Alpha version bugfixes

This commit is contained in:
Jesse Malotaux 2025-04-13 13:07:15 +02:00
parent fd9430dbc6
commit cb5516f863
18 changed files with 474 additions and 144 deletions

View file

@ -30,6 +30,8 @@ func main() {
func apiInit(w http.ResponseWriter, r *http.Request) {
app.ApiCORS(w, r)
app.MCRMLog("Remote IP: " + r.RemoteAddr)
if r.Method == "GET" {
app.ApiGet(w, r)
} else if r.Method == "POST" {