Skip to content
Snippets Groups Projects
Commit 95cc05f8 authored by Marcia Ramos's avatar Marcia Ramos
Browse files

Merge branch 'patch-1' into 'master'

Make router base generic

See merge request pages/nuxt!3
parents 2ef2ac1f aac1aeb2
No related branches found
No related tags found
No related merge requests found
import pkg from './package' import pkg from './package'
const { CI_PAGES_URL } = process.env
const base = CI_PAGES_URL && new URL(CI_PAGES_URL).pathname
export default { export default {
mode: 'universal', mode: 'universal',
...@@ -34,7 +37,7 @@ export default { ...@@ -34,7 +37,7 @@ export default {
** Customize the base url ** Customize the base url
*/ */
router: { router: {
base: '/nuxt/' base
}, },
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment