Skip to content

Commit

Permalink
fix: vercel 504오류 픽스
Browse files Browse the repository at this point in the history
  • Loading branch information
eun-hak committed Sep 29, 2024
1 parent e985654 commit b4ba60c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/community/[id]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const CommunityDetailPage = () => {
export default CommunityDetailPage;

// eslint-disable-next-line react-refresh/only-export-components
export async function getServerSideProps(context: GetServerSidePropsContext) {
export async function getStaticSideProps(context: GetServerSidePropsContext) {
const { query, req } = context;
const { cookie } = req.headers;
const postId = query.id as string;
Expand Down

0 comments on commit b4ba60c

Please sign in to comment.