add reconnect to websocket, add get world json object

This commit is contained in:
lbenedar
2026-04-13 17:40:59 +03:00
parent cd204ebcf5
commit 5bb592ea8a
14 changed files with 321 additions and 103 deletions

View File

@@ -13,6 +13,7 @@ func (app *application) healthcheckHandler(w http.ResponseWriter, r *http.Reques
"status": app.foundryApp.Status,
"is_available": app.foundryApp.IsAvailable,
},
"config": app.foundryApp.GetHTTP(),
}
err := app.writeJSON(w, http.StatusOK, env, nil)
if err != nil {