Skip to content

Commit

Permalink
<fix>: NoRoute
Browse files Browse the repository at this point in the history
  • Loading branch information
HanFengA7 committed Aug 22, 2023
1 parent 9fd4201 commit a55d27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func InitRouter() {
})

router.NoRoute(func(c *gin.Context) {
c.Redirect(302, "/browseGH")
c.Redirect(http.StatusFound, "/browseGH")
})

err := router.Run(":8001")
Expand Down

0 comments on commit a55d27a

Please sign in to comment.