Skip to content

Commit

Permalink
Update static export example: clean up an extra query param (#9239)
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliyakarat authored and Luis Alvarez D committed Oct 29, 2019
1 parent acf7d0a commit a25085f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/with-static-export/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ module.exports = {
const pages = postList.reduce(
(pages, post) =>
Object.assign({}, pages, {
[`/post/${post.id}`]: {
page: '/post/[id]',
query: { id: post.id }
}
[`/post/${post.id}`]: { page: '/post/[id]' }
}),
{}
)
Expand Down

0 comments on commit a25085f

Please sign in to comment.