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 5da2a76 commit 9fd4201
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(301, "/browseGH/")
c.Redirect(302, "/browseGH")
})

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

0 comments on commit 9fd4201

Please sign in to comment.