fix: 환경변수 USERFRONT_URL 직접 참조 및 SSO 경로(/ssologin) 수정 #243
This commit is contained in:
1 parent
2864a946f2
commit
3163514227
2 files changed
+3
-2
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user