Add loglevel param

This commit is contained in:
Julien Nahum 2024-01-06 15:26:18 +01:00
parent 4ada3c5bad
commit 07219f87c3
2 changed files with 2 additions and 3 deletions

1
client/.gitignore vendored
View File

@ -4,6 +4,7 @@
.nuxt .nuxt
.nitro .nitro
.cache .cache
.amplify-hosting
dist dist
# Node dependencies # Node dependencies

View File

@ -4,9 +4,7 @@ import opnformConfig from "./opnform.config";
import sitemap from "./sitemap"; import sitemap from "./sitemap";
export default defineNuxtConfig({ export default defineNuxtConfig({
site: { loglevel: process.env.NUXT_LOG_LEVEL || 'info',
url: opnformConfig.app_url
},
devtools: {enabled: true}, devtools: {enabled: true},
css: ['~/scss/app.scss'], css: ['~/scss/app.scss'],
modules: [ modules: [