We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1846038 commit 8183af5Copy full SHA for 8183af5
main.go
@@ -102,6 +102,7 @@ func main() {
102
app.Post("/api/v1/control-relay", AuthMiddleware, handleControlRelay)
103
app.Get("/api/v1/spaceapi", handleSpaceAPI)
104
app.Get("/api/v1/branding", handleBranding)
105
+ app.Get("/health", handleHealth)
106
app.Get("/api/v1/device-history", handleDeviceHistory)
107
app.Get("/api/v1/stats/usage-heatmap", handleUsageHeatmap)
108
@@ -217,3 +218,7 @@ func handleBranding(c *fiber.Ctx) error {
217
218
cfg := MustLoadConfig()
219
return c.JSON(cfg.Branding)
220
}
221
+
222
+func handleHealth(c *fiber.Ctx) error {
223
+ return c.SendString("OK")
224
+}
0 commit comments