Skip to content

Commit

Permalink
fix: fix blog url
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit 9cc48db
Author: f0ever0 <[email protected]>
Date:   Mon Nov 13 17:26:27 2023 +0900

    feat : blog url redirect 설정

commit 92c8caa
Author: f0ever0 <[email protected]>
Date:   Mon Nov 13 17:23:29 2023 +0900

    fix : 메인페이지 활동후기 더보기 url 변경

commit 64a13df
Author: Hyejun Lee <[email protected]>
Date:   Mon Nov 13 11:08:14 2023 +0900

    [SP2/hotfix] 하이드레이션 에러 해결 (#277)
  • Loading branch information
SeojinSeojin committed Nov 13, 2023
1 parent 9f7ae41 commit fc97676
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,20 @@ const nextConfig = {

return config;
},
async redirects() {
return [
{
source: '/review',
destination: '/blog',
permanent: false,
},
{
source: '/sopticle',
destination: '/blog',
permanent: false,
},
];
},
};

module.exports = nextConfig;
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function ActivityReview() {
<ArrowRight stroke={isRightScrollable ? 'white' : 'lightGrey'} />
</div>
</div>
<Link href="/review" onClick={() => track('click_main_review_more')}>
<Link href="/blog" onClick={() => track('click_main_review_more')}>
<h4 className={styles.moreLink}>활동후기 더보기</h4>
</Link>
</div>
Expand Down

0 comments on commit fc97676

Please sign in to comment.