Skip to content

Commit

Permalink
Merge pull request #49 from dnd-side-project/seo
Browse files Browse the repository at this point in the history
seo : redirect 웹 표준
  • Loading branch information
guesung committed Sep 9, 2023
2 parents 571224d + a960995 commit 8d8685d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
17 changes: 14 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const withPWA = require('next-pwa')({
dest: 'public',
});

const nextConfig = {
const nextConfig = withPWA({
reactStrictMode: true,
images: {
remotePatterns: [
Expand All @@ -12,6 +12,17 @@ const nextConfig = {
},
],
},
};
});

module.exports = withPWA(nextConfig);
module.exports = {
...nextConfig,
async redirects() {
return [
{
source: '/',
destination: '/pick',
permanent: true,
},
];
},
};
5 changes: 0 additions & 5 deletions src/app/page.tsx

This file was deleted.

0 comments on commit 8d8685d

Please sign in to comment.