Permalink
Browse files

fix: encode custom paths (#145)

Fixes #7
  • Loading branch information...
hinex authored and paulgv committed Oct 23, 2018
1 parent 9a2184a commit 98c99459c5b7db2521c333e65a8ddf88b6287229
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/helpers/routes.js
@@ -77,7 +77,7 @@ exports.makeRoutes = (baseRoutes, {

// Get custom path if any
if (componentOptions.paths && componentOptions.paths[locale]) {
path = componentOptions.paths[locale]
path = encodeURI(componentOptions.paths[locale])
}

// Add route prefix if needed

0 comments on commit 98c9945

Please sign in to comment.