Skip to content
Snippets Groups Projects
Commit aac1aeb2 authored by Winnie Hellmann's avatar Winnie Hellmann
Browse files

Make router base generic

parent 2ef2ac1f
No related branches found
No related tags found
No related merge requests found
import pkg from './package'
const { CI_PAGES_URL } = process.env
const base = CI_PAGES_URL && new URL(CI_PAGES_URL).pathname
export default {
mode: 'universal',
......@@ -34,7 +37,7 @@ export default {
** Customize the base url
*/
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