feat: implement Goong service and controller for location functionality and update database schema diagram
All checks were successful
Build and Release / release (push) Successful in 1m28s

This commit is contained in:
2026-05-18 22:05:51 +07:00
parent 965c74abaf
commit 111a884574
3 changed files with 2548 additions and 2218 deletions

View File

@@ -84,7 +84,11 @@ func (ctrl *goongController) Proxy(c fiber.Ctx) error {
}
if c.Method() == "GET" {
c.Set("Cache-Control", "public, max-age=86400")
if statusCode == fiber.StatusOK || statusCode == fiber.StatusNotModified {
c.Set("Cache-Control", "public, max-age=86400")
} else {
c.Set("Cache-Control", "no-store, no-cache, must-revalidate")
}
}
return c.Status(statusCode).Send(respBody)