Skip to content

Commit

Permalink
chore(env): add env-var to distinguish between deployment-types (#850)
Browse files Browse the repository at this point in the history
The variable will be set to `production` or `staging` corresponding to the deployment-type
  • Loading branch information
guybrush authored Sep 10, 2024
1 parent 6fe5b11 commit 4d5ed1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/.env-example
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ NUXT_PUBLIC_V1_DOMAIN: ""
NUXT_PUBLIC_LOG_FILE: ""
NUXT_PUBLIC_CHAIN_ID_BY_DEFAULT: ""
NUXT_PUBLIC_MAINTENANCE_TS: "1717700652"
NUXT_PUBLIC_DEPLOYMENT_TYPE: "development"
PRIVATE_SSR_SECRET: ""
1 change: 1 addition & 0 deletions frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export default defineNuxtConfig({
apiClient: process.env.PUBLIC_API_CLIENT,
apiKey: process.env.PUBLIC_API_KEY,
chainIdByDefault: process.env.PUBLIC_CHAIN_ID_BY_DEFAULT,
deploymentType: process.env.PUBLIC_DEPLOYMENT_TYPE,
domain: process.env.PUBLIC_DOMAIN,
gitVersion,
legacyApiClient: process.env.PUBLIC_LEGACY_API_CLIENT,
Expand Down

0 comments on commit 4d5ed1e

Please sign in to comment.