Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gfortaine committed Dec 5, 2022
1 parent a83ae54 commit ade25c4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ module.exports = {
experimental: {
appDir: true
},
async redirects() {
async rewrites() {
return [
{
source: '/',
destination: '/news/1',
permanent: true
source: '/{/}?',
destination: '/news/1'
}
]
}
Expand Down

0 comments on commit ade25c4

Please sign in to comment.