UPDATE: ignore patterns
All checks were successful
Build and Release / release (push) Successful in 1m33s

This commit is contained in:
2026-05-20 06:33:37 +07:00
parent 9cd244df12
commit 5fe3025c72
4 changed files with 15 additions and 7 deletions

View File

@@ -448,10 +448,12 @@ func (h *AuthController) GoogleCallback(c fiber.Ctx) error {
})
allowed := map[string]bool{
"http://localhost:3000": true,
"http://localhost:3001": true,
"https://history-admin.kain.id.vn": true,
"https://history-user.kain.id.vn": true,
"http://localhost:3000": true,
"http://localhost:3001": true,
"https://history-admin.kain.id.vn": true,
"https://history-user.kain.id.vn": true,
"https://www.history-admin.kain.id.vn": true,
"https://www.history-user.kain.id.vn": true,
}
feUrl := config.GetConfigWithDefault("FRONTEND_URL", "http://localhost:3000")
redirectURL := data.RedirectURL