forked from baron/baron-sso
메인 주소 sso.hmac.kr로 통일함
This commit is contained in:
@@ -55,7 +55,7 @@ func main() {
|
||||
"db_port", getEnv("DB_PORT", "5532"),
|
||||
"backend_port", getEnv("BACKEND_PORT", "3000"),
|
||||
"frontend_port", getEnv("FRONTEND_PORT", "5000"),
|
||||
"frontend_url", getEnv("FRONTEND_URL", "http://ssologin.hmac.kr"),
|
||||
"frontend_url", getEnv("FRONTEND_URL", "http://sso.hmac.kr"),
|
||||
"redis_addr", getEnv("REDIS_ADDR", "redis:6379"),
|
||||
)
|
||||
|
||||
|
||||
@@ -143,7 +143,7 @@ func (h *AuthHandler) InitEnchantedLink(c *fiber.Ctx) error {
|
||||
// Generate Link
|
||||
frontendURL := os.Getenv("FRONTEND_URL")
|
||||
if frontendURL == "" {
|
||||
frontendURL = "http://ssologin.hmac.kr"
|
||||
frontendURL = "http://sso.hmac.kr"
|
||||
}
|
||||
link := fmt.Sprintf("%s/verify/%s", frontendURL, token)
|
||||
|
||||
@@ -343,7 +343,7 @@ func (h *AuthHandler) InitQRLogin(c *fiber.Ctx) error {
|
||||
// QR 코드 페이로드를 실제 접속 가능한 URL로 변경합니다.
|
||||
frontendURL := os.Getenv("FRONTEND_URL")
|
||||
if frontendURL == "" {
|
||||
frontendURL = "https://ssologin.hmac.kr"
|
||||
frontendURL = "https://sso.hmac.kr"
|
||||
}
|
||||
qrPayload := fmt.Sprintf("%s/approve?ref=%s", frontendURL, pendingRef)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user