fix(sso-auth): CORS allowedOrigins에 누락된 서브도메인 4개 추가
tkpurchase, tksafety, tksupport, tkds 서브도메인 누락으로 인한 로그인 실패 수정 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -20,6 +20,10 @@ const allowedOrigins = [
|
|||||||
'https://tkreport.technicalkorea.net',
|
'https://tkreport.technicalkorea.net',
|
||||||
'https://tkqc.technicalkorea.net',
|
'https://tkqc.technicalkorea.net',
|
||||||
'https://tkuser.technicalkorea.net',
|
'https://tkuser.technicalkorea.net',
|
||||||
|
'https://tkpurchase.technicalkorea.net',
|
||||||
|
'https://tksafety.technicalkorea.net',
|
||||||
|
'https://tksupport.technicalkorea.net',
|
||||||
|
'https://tkds.technicalkorea.net',
|
||||||
];
|
];
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
allowedOrigins.push('http://localhost:30000', 'http://localhost:30080', 'http://localhost:30180', 'http://localhost:30280', 'http://localhost:30380');
|
allowedOrigins.push('http://localhost:30000', 'http://localhost:30080', 'http://localhost:30180', 'http://localhost:30280', 'http://localhost:30380');
|
||||||
|
|||||||
Reference in New Issue
Block a user