feat: update auth page route
This commit is contained in:
@@ -37,7 +37,7 @@ func (f *Middlewares) Auth(ctx fiber.Ctx) error {
|
||||
query := u.Query()
|
||||
query.Set("redirect", fullUrl)
|
||||
u.RawQuery = query.Encode()
|
||||
u.Path = "/auth/wechat"
|
||||
u.Path = "/v1/auth/wechat"
|
||||
fullUrl = u.String()
|
||||
|
||||
// check cookie exists
|
||||
|
||||
Reference in New Issue
Block a user