Skip to content

Commit 44e15ef

Browse files
hotfix: onboarding step 5 token 발급 api 인터페이스 수정
1 parent a3f3c4c commit 44e15ef

File tree

1 file changed

+3
-1
lines changed
  • frontend/src/app/onboarding/step5

1 file changed

+3
-1
lines changed

frontend/src/app/onboarding/step5/page.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@ export default function Step3() {
2222
const socialId = searchParam.get('social_id');
2323
const router = useRouter();
2424

25+
const isDevMode = typeof window !== 'undefined' && window.location.hostname !== 'workinkorea.info';
26+
2527
const handleNextClick = async () => {
2628
try {
2729
await createUserInterest({
2830
social_id: socialId,
2931
interests: selectedOptions,
3032
});
3133
const data = await PublicAxiosInstance.get(
32-
`/auth/token?social_id=${socialId}`,
34+
`/auth/token?social_id=${socialId}&is_dev_mode=${isDevMode}`,
3335
);
3436
const redirectUrl = data.data.redirect_url;
3537
router.push(redirectUrl);

0 commit comments

Comments
 (0)