更改路由前缀
This commit is contained in:
@@ -35,6 +35,6 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
||||
},
|
||||
},
|
||||
rest.WithJwt(serverCtx.Config.Auth.AccessSecret),
|
||||
rest.WithPrefix("/api/task/v1"),
|
||||
rest.WithPrefix("/gapi/task/v1"),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user