diff --git a/apps/stats/.env b/apps/stats/.env new file mode 100644 index 000000000..55d4d65ea --- /dev/null +++ b/apps/stats/.env @@ -0,0 +1,3 @@ +# App configuration variables +NX_VEGA_ENV = 'MAINNET' +NX_VEGA_REST = 'https://api.token.vega.xyz/' diff --git a/apps/stats/.env.mainnet b/apps/stats/.env.mainnet index 55d4d65ea..1d34ab55b 100644 --- a/apps/stats/.env.mainnet +++ b/apps/stats/.env.mainnet @@ -1,3 +1 @@ -# App configuration variables -NX_VEGA_ENV = 'MAINNET' -NX_VEGA_REST = 'https://api.token.vega.xyz/' +# App configuration variables. No overrides for default urls diff --git a/apps/stats/project.json b/apps/stats/project.json index 00ed1918a..d7ed12db6 100644 --- a/apps/stats/project.json +++ b/apps/stats/project.json @@ -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,