use new config in nuxt

This commit is contained in:
lesion 2021-10-18 12:48:45 +02:00
parent 2ced375263
commit 8ba543c9f2
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -1,3 +1,5 @@
const config = require('./server/config.js')
module.exports = {
telemetry: false,
modern: (process.env.NODE_ENV === 'production') && 'client',
@ -12,9 +14,10 @@ module.exports = {
link: [{ rel: 'icon', type: 'image/png', href: '/logo.png' }]
},
dev: (process.env.NODE_ENV !== 'production'),
server: config.server,
/*
** Customize the progress-bar color
** Customize the progress-bar component
*/
loading: '~/components/Loading.vue',
/*