Skip to content

Commit 5827794

Browse files
cwrm56sundarok
andauthored
remove duplicate root redirect to web, add mockgen to release (#121)
Signed-off-by: cwrm56 <[email protected]> Co-authored-by: sundarok <[email protected]>
1 parent a762363 commit 5827794

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ jobs:
5454
- name: Set up Docker Buildx
5555
uses: docker/setup-buildx-action@v3
5656

57+
- name: Install mockgen
58+
run: go install github.com/golang/mock/[email protected]
59+
5760
- name: Run GoReleaser
5861
uses: goreleaser/goreleaser-action@v6
5962
with:

internal/api/domain_handler.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,6 @@ func (h *DomainHandler) RegisterRoutes(router *gin.Engine) {
147147

148148
// Static file serving
149149
router.Static("/web", "./web")
150-
router.GET("/", func(c *gin.Context) {
151-
c.Redirect(http.StatusMovedPermanently, "/web/")
152-
})
153150
}
154151

155152
// Helper function to check if user is authenticated

0 commit comments

Comments
 (0)