Skip to content

Commit

Permalink
Merge pull request #260 from ssu-student-union/hotfix/#258_redirect-s…
Browse files Browse the repository at this point in the history
…suketch

Hotfix/#258 redirect ssuketch
  • Loading branch information
dvp-tae authored Oct 21, 2024
2 parents 3ff9403 + 8456253 commit fba368b
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 fba368b

Please sign in to comment.