Skip to content

Commit 7d5007a

Browse files
committed
Auto open web-node config
Web node local fix
1 parent 40da448 commit 7d5007a

File tree

3 files changed

+4
-28
lines changed

3 files changed

+4
-28
lines changed

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"install:deps": "npm install",
66
"start": "npm install && ng serve --configuration local --open",
77
"start:dev": "ng serve --configuration development",
8-
"start:webnode": "ng serve --configuration webnodelocal",
8+
"start:webnode": "npm install && ng serve --configuration webnodelocal --open",
99
"start:dev:mobile": "ng serve --configuration development --host 0.0.0.0",
1010
"start:fuzzing": "npm run install:deps && ng build --configuration fuzzing && npm run start:bundle",
1111
"build": "ng build",

frontend/src/environments/environment.webnodelocal.ts

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,10 @@ export const environment: Readonly<MinaEnv> = {
1111
globalConfig: {
1212
features: {
1313
dashboard: [],
14-
// nodes: ['overview', 'live', 'bootstrap'],
1514
state: ['actions'],
16-
// network: ['messages', 'connections', 'blocks', 'topology', 'node-dht', 'graph-overview', 'bootstrap-stats'],
17-
// snarks: ['scan-state', 'work-pool'],
18-
// resources: ['memory'],
1915
'block-production': ['won-slots'],
2016
mempool: [],
2117
benchmarks: ['wallets'],
22-
// fuzzing: [],
2318
},
2419
firebase: {
2520
apiKey: 'AIzaSyBZzFsHjIbQVbBP0N-KkUsEvHRVU_wwd7g',
@@ -30,28 +25,9 @@ export const environment: Readonly<MinaEnv> = {
3025
appId: '1:1016673359357:web:bbd2cbf3f031756aec7594',
3126
measurementId: 'G-ENDBL923XT',
3227
},
33-
heartbeats: true,
34-
graphQL: 'https://adonagy.com/graphql',
35-
// graphQL: 'https://api.minascan.io/node/devnet/v1/graphql',
36-
// graphQL: 'http://65.109.105.40:5000/graphql',
28+
heartbeats: false,
3729
},
3830
configs: [
39-
// {
40-
// name: 'staging-devnet-bp-0',
41-
// url: 'https://staging-devnet-openmina-bp-0.minaprotocol.network',
42-
// },
43-
// {
44-
// name: 'staging-devnet-bp-1',
45-
// url: 'https://staging-devnet-openmina-bp-1.minaprotocol.network',
46-
// },
47-
// {
48-
// name: 'staging-devnet-bp-2',
49-
// url: 'https://staging-devnet-openmina-bp-2.minaprotocol.network',
50-
// },
51-
// {
52-
// name: 'staging-devnet-bp-3',
53-
// url: 'https://staging-devnet-openmina-bp-3.minaprotocol.network',
54-
// },
5531
{
5632
name: 'Web Node',
5733
isWebNode: true,

frontend/src/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
deviceOS: 'macOS',
5555
deviceOSVersion: '24.3.0',
5656
version: '1.0.183',
57-
};
58-
window.deployment = deployment;
57+
};
58+
window.deployment = deployment;
5959

6060
if (location.href.includes('webnode.minaprotocol')) {
6161
document.body.style.backgroundColor = '#fff';

0 commit comments

Comments
 (0)