Skip to content

Commit

Permalink
πŸ› μ„œλ²„μ‚¬μ΄λ“œ μ—λŸ¬ μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
tmdrb278 committed May 17, 2023
1 parent b9225a2 commit 820bcd2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pages/post/detail/[postId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ export default function Detail({ post }: detailProps) {
);
}

export const getStaticPaths: GetStaticPaths<{ slug: string }> = async () => {
return {
paths: [], //indicates that no page needs be created at build time
fallback: 'blocking', //indicates the type of fallback
};
};
// export const getStaticPaths: GetStaticPaths<{ slug: string }> = async () => {
// return {
// paths: [], //indicates that no page needs be created at build time
// fallback: 'blocking', //indicates the type of fallback
// };
// };

export const getServerSideProps: GetServerSideProps = async (context) => {
if (context.params?.postId) {
Expand Down

1 comment on commit 820bcd2

@vercel
Copy link

@vercel vercel bot commented on 820bcd2 May 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

kylog – ./

kylog-neatkyu.vercel.app
kylog-eight.vercel.app
kylog-git-main-neatkyu.vercel.app

Please sign in to comment.