Skip to content

Commit

Permalink
fix: 자동 리다이렉트 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
dvp-tae committed Oct 21, 2024
1 parent 57763c6 commit 8456253
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
6 changes: 6 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { QueryClient, QueryCache, QueryClientProvider } from '@tanstack/react-qu
import { APIResponseError } from 'endpoint-client';
import './style.css';
import ScrollToTop from './components/ScrollTop/ScrollTop';
import { useEffect } from 'react';

const queryClient = new QueryClient({
queryCache: new QueryCache({
Expand All @@ -27,6 +28,11 @@ const queryClient = new QueryClient({
});

function App() {
/* 총학 홈페이지 접근 시 ssuketch로 리다이렉트 되도록 임시 설정 */
useEffect(() => {
window.location.href = 'https://ssuketch60.cafe24.com/';
}, []);

return (
<QueryClientProvider client={queryClient}>
<RecoilRoot>
Expand Down

0 comments on commit 8456253

Please sign in to comment.