Skip to content

Commit f9691a6

Browse files
authored
Merge pull request #95 from GDGoCINHA/develop
Fix to correct api url
2 parents acda414 + b67a8f2 commit f9691a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/auth/signin/page.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default function Page() {
6363
}
6464

6565
setAccessToken(access_token);
66-
router.push('/study');
66+
router.push('/main');
6767
} catch (error) {
6868
console.error('로그인 실패:', error);
6969
alert('로그인 중 오류가 발생했습니다.');

src/hooks/useAuthenticatedApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const useAuthenticatedApi = () => {
3939
//로그인 이후 api 요청
4040
const apiClient = useMemo(() => {
4141
const client = axios.create({
42-
baseURL: 'https://gdgocinha.com/api',
42+
baseURL: 'https://gdgocinha.site/',
4343
headers: { 'Content-Type': 'application/json' },
4444
withCredentials: true,
4545
});

0 commit comments

Comments
 (0)