mirror of
https://gitee.com/gitea/gitea
synced 2025-11-30 05:10:28 +08:00
Register notification router
This commit is contained in:
@@ -562,6 +562,8 @@ func runWeb(ctx *cli.Context) error {
|
||||
})
|
||||
// ***** END: Repository *****
|
||||
|
||||
m.Get("/notifications", reqSignIn, user.Notifications)
|
||||
|
||||
m.Group("/api", func() {
|
||||
apiv1.RegisterRoutes(m)
|
||||
}, ignSignIn)
|
||||
|
||||
Reference in New Issue
Block a user