Skip to content

Commit

Permalink
[fix] api 호출 url 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jjongs2 committed Aug 21, 2023
1 parent 8c47120 commit 5865c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/oauth/login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function Login(): ReactElement {

useEffect(() => {
const fetchData = async (): Promise<void> => {
const { data } = await instance.get(`${process.env.BASE_URL as string}/oauth/login`);
const { data } = await instance.get(`${process.env.NEXT_PUBLIC_IP as string}/oauth/login`);
console.log('data', data);
await router.push('/');
};
Expand Down

0 comments on commit 5865c52

Please sign in to comment.