Skip to content

Commit

Permalink
fix(app): keep original path when showing 404
Browse files Browse the repository at this point in the history
  • Loading branch information
hjvedvik committed Feb 23, 2019
1 parent 0977d1b commit f0efbaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gridsome/lib/app/createRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module.exports = ({ store, config }) => {
})

specialPages.push({
path: '(.*)',
path: '*',
name: '404',
directoryIndex: false,
type: NOT_FOUND_ROUTE,
Expand Down

0 comments on commit f0efbaa

Please sign in to comment.