use new config in nuxt

This commit is contained in:
lesion
2021-10-18 12:48:45 +02:00
parent 2ced375263
commit 8ba543c9f2

View File

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