Skip to content

Commit

Permalink
Update .env
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroCorp committed Sep 18, 2024
1 parent 62a0797 commit d1b09f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
NODE_ENV=development
NUXT_ENV=development

NUXT_SESSION_NAME=session
NUXT_SESSION_PASSWORD=
Expand Down
4 changes: 2 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default defineNuxtConfig({
},
},
devtools: {
enabled: process.env.NODE_ENV === "development",
enabled: process.env.NUXT_ENV === "development",
},
experimental: {
inlineRouteRules: true,
Expand All @@ -22,7 +22,7 @@ export default defineNuxtConfig({
},
runtimeConfig: {
// Private keys are only available on the server
nodeEnv: process.env.NODE_ENV,
nuxtEnv: process.env.NUXT_ENV,
nuxtSessionName: process.env.NUXT_SESSION_NAME,
nuxtSessionPassword: process.env.NUXT_SESSION_PASSWORD,
nuxtSessionTime: process.env.NUXT_SESSION_TIME,
Expand Down

0 comments on commit d1b09f3

Please sign in to comment.