mirror of
https://github.com/btouchard/ackify.git
synced 2026-05-18 06:29:22 -05:00
feat: http add /healthz alias; ignore local .gocache
This commit is contained in:
+4
-1
@@ -5,8 +5,11 @@ AGENTS.md
|
||||
.idea
|
||||
.env
|
||||
|
||||
# Local Go build cache
|
||||
.gocache/
|
||||
|
||||
docker-compose.local.yml
|
||||
docker-compose.prod.yml
|
||||
client_secret*.json
|
||||
community
|
||||
migrate
|
||||
migrate
|
||||
|
||||
@@ -160,6 +160,8 @@ func setupRouter(
|
||||
router.Get("/oembed", oembedHandler.HandleOEmbed)
|
||||
router.Get("/embed", oembedHandler.HandleEmbedView)
|
||||
router.Get("/health", healthHandler.HandleHealth)
|
||||
// Alias to match documentation and install script
|
||||
router.Get("/healthz", healthHandler.HandleHealth)
|
||||
|
||||
router.Get("/sign", authMiddleware.RequireAuth(signatureHandlers.HandleSignGET))
|
||||
router.Post("/sign", authMiddleware.RequireAuth(signatureHandlers.HandleSignPOST))
|
||||
|
||||
Reference in New Issue
Block a user