Skip to content

Commit 194ed78

Browse files
committed
Update health endpoint
1 parent 232e9f3 commit 194ed78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-and-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
labels: ${{ steps.meta.outputs.labels }}
5454
cache-from: type=gha
5555
cache-to: type=gha,mode=max
56-
platforms: linux/amd64,linux/arm64
56+
platforms: linux/amd64
5757

5858
- name: 🚀 Trigger Infrastructure Staging Deployment
5959
if: success() && github.ref == 'refs/heads/main'

cmd/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func run(ctx context.Context, cfg *config.Config, log *zap.Logger) error {
103103
api := router.Group("/api/v1")
104104
{
105105
// Health check
106-
router.GET("/health", func(c *gin.Context) {
106+
api.GET("/health", func(c *gin.Context) {
107107
c.JSON(http.StatusOK, gin.H{"status": "ok"})
108108
})
109109
// Public routes

0 commit comments

Comments
 (0)