Try to make stats default to mainnet using NX env

This commit is contained in:
Edd 2022-04-01 14:57:30 +01:00
parent c4d10d04af
commit 75856975ca
3 changed files with 6 additions and 4 deletions

3
apps/stats/.env Normal file
View File

@ -0,0 +1,3 @@
# App configuration variables
NX_VEGA_ENV = 'MAINNET'
NX_VEGA_REST = 'https://api.token.vega.xyz/'

View File

@ -1,3 +1,2 @@
# App configuration variables
NX_VEGA_ENV = 'MAINNET'
NX_VEGA_REST = 'https://api.token.vega.xyz/'
# App configuration variables. No overrides for default urls
PUBLIC_URL=.

View File

@ -11,7 +11,6 @@
"compiler": "babel",
"outputPath": "dist/apps/stats",
"index": "apps/stats/src/index.html",
"baseHref": "/",
"main": "apps/stats/src/main.tsx",
"polyfills": "apps/stats/src/polyfills.ts",
"tsConfig": "apps/stats/tsconfig.app.json",
@ -31,6 +30,7 @@
"with": "apps/stats/src/environments/environment.prod.ts"
}
],
"subresourceIntegrity": true,
"optimization": true,
"outputHashing": "all",
"sourceMap": false,