Skip to content

Commit

Permalink
frontend: add PUBLIC_DEPLOYMENT_TYPE env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
guybrush committed Sep 10, 2024
1 parent 6fe5b11 commit 05caa13
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 @@ -87,6 +87,7 @@ export default defineNuxtConfig({
showInDevelopment: '',
stripeBaseUrl: process.env.PUBLIC_STRIPE_BASE_URL,
v1Domain: process.env.PUBLIC_V1_DOMAIN,
deploymentType: process.env.PUBLIC_DEPLOYMENT_TYPE, // can be 'development', 'staging', 'production'

Check failure on line 90 in frontend/nuxt.config.ts

View workflow job for this annotation

GitHub Actions / lint and typecheck

Expected "deploymentType" to come before "v1Domain"
},
},
ssr: process.env.ENABLE_SSR !== 'FALSE',
Expand Down

0 comments on commit 05caa13

Please sign in to comment.