Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SP2] blog 페이지 url 주소 작업 #280

Merged
merged 4 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading