diff --git a/frontend/package.json b/frontend/package.json index 04b7ce9904..56c012bd93 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -5,7 +5,7 @@ "install:deps": "npm install", "start": "npm install && ng serve --configuration local --open", "start:dev": "ng serve --configuration development", - "start:webnode": "ng serve --configuration webnodelocal", + "start:webnode": "npm install && ng serve --configuration webnodelocal --open", "start:dev:mobile": "ng serve --configuration development --host 0.0.0.0", "start:fuzzing": "npm run install:deps && ng build --configuration fuzzing && npm run start:bundle", "build": "ng build", diff --git a/frontend/src/environments/environment.webnodelocal.ts b/frontend/src/environments/environment.webnodelocal.ts index f38213de36..725b5b5013 100644 --- a/frontend/src/environments/environment.webnodelocal.ts +++ b/frontend/src/environments/environment.webnodelocal.ts @@ -11,15 +11,10 @@ export const environment: Readonly = { globalConfig: { features: { dashboard: [], - // nodes: ['overview', 'live', 'bootstrap'], state: ['actions'], - // network: ['messages', 'connections', 'blocks', 'topology', 'node-dht', 'graph-overview', 'bootstrap-stats'], - // snarks: ['scan-state', 'work-pool'], - // resources: ['memory'], 'block-production': ['won-slots'], mempool: [], benchmarks: ['wallets'], - // fuzzing: [], }, firebase: { apiKey: 'AIzaSyBZzFsHjIbQVbBP0N-KkUsEvHRVU_wwd7g', @@ -30,28 +25,9 @@ export const environment: Readonly = { appId: '1:1016673359357:web:bbd2cbf3f031756aec7594', measurementId: 'G-ENDBL923XT', }, - heartbeats: true, - graphQL: 'https://adonagy.com/graphql', - // graphQL: 'https://api.minascan.io/node/devnet/v1/graphql', - // graphQL: 'http://65.109.105.40:5000/graphql', + heartbeats: false, }, configs: [ - // { - // name: 'staging-devnet-bp-0', - // url: 'https://staging-devnet-openmina-bp-0.minaprotocol.network', - // }, - // { - // name: 'staging-devnet-bp-1', - // url: 'https://staging-devnet-openmina-bp-1.minaprotocol.network', - // }, - // { - // name: 'staging-devnet-bp-2', - // url: 'https://staging-devnet-openmina-bp-2.minaprotocol.network', - // }, - // { - // name: 'staging-devnet-bp-3', - // url: 'https://staging-devnet-openmina-bp-3.minaprotocol.network', - // }, { name: 'Web Node', isWebNode: true, diff --git a/frontend/src/index.html b/frontend/src/index.html index 007e1d08c1..5bb6c22dc1 100644 --- a/frontend/src/index.html +++ b/frontend/src/index.html @@ -54,8 +54,8 @@ deviceOS: 'macOS', deviceOSVersion: '24.3.0', version: '1.0.183', -}; -window.deployment = deployment; + }; + window.deployment = deployment; if (location.href.includes('webnode.minaprotocol')) { document.body.style.backgroundColor = '#fff';