Skip to content

Commit

Permalink
fix: renamed env for debug mode and made default to false
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Milfred committed Aug 9, 2024
1 parent 52a5ed3 commit f5e19a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ const {
NODE_ENV = 'production',
NUXT_PUBLIC_API_DOMAIN: API_DOMAIN,
NUXT_PUBLIC_LOCAL_PORT: LOCAL_PORT = 3000,
NUXT_PUBLIC_SHOW_DEBUG_ERRORS = NODE_ENV !== 'production',
NUXT_PUBLIC_DEBUG_MODE = false,
} = process.env;

export default defineNuxtConfig({
extends: ['@limbo-works/image'],
debug: NUXT_PUBLIC_SHOW_DEBUG_ERRORS,
debug: NUXT_PUBLIC_DEBUG_MODE,

devServer: {
port: LOCAL_PORT,
Expand Down

0 comments on commit f5e19a2

Please sign in to comment.