fix: 환경변수 USERFRONT_URL 직접 참조 및 SSO 경로(/ssologin) 수정 #243

This commit is contained in:
chan committed 2026-02-11 14:57:32 +09:00
1 parent 2864a946f2
commit 3163514227
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -30,8 +30,8 @@ function LoginPage() {
}, [navigate]);
const handleSSOLogin = () => {
const userfrontUrl = import.meta.env.VITE_USERFRONT_URL || "https://sso.hmac.kr";
const loginUrl = `${userfrontUrl}/login?source=adminfront`;
const userfrontUrl = import.meta.env.USERFRONT_URL || "https://sso.hmac.kr";
const loginUrl = `${userfrontUrl}/ssologin?source=adminfront`;
const width = 500;
const height = 700;