chore: rename prefix to /s

This commit is contained in:
Steven
2023-06-24 14:25:39 +08:00
parent 07814ef606
commit ffc546fa27
5 changed files with 6 additions and 6 deletions

View File

@ -30,7 +30,7 @@ func (s *APIV1Service) Start(apiGroup *echo.Group, secret string) {
s.registerUserRoutes(apiV1Group)
s.registerShortcutRoutes(apiV1Group)
redirectorGroup := apiGroup.Group("/o")
redirectorGroup := apiGroup.Group("/s")
redirectorGroup.Use(func(next echo.HandlerFunc) echo.HandlerFunc {
return JWTMiddleware(s, next, string(secret))
})