summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Shetye2022-06-03 17:10:44 +0530
committerSunil Shetye2022-06-06 15:13:59 +0530
commite796421f6ea2790a41f3a0f2dbb7b864c2dd043c (patch)
tree11e15df294342cf23952e90c81dedd81fe379549
parentb079b731cf577a1b316483195959005dbd53b821 (diff)
downloadCommon-Interface-Project-e796421f6ea2790a41f3a0f2dbb7b864c2dd043c.tar.gz
Common-Interface-Project-e796421f6ea2790a41f3a0f2dbb7b864c2dd043c.tar.bz2
Common-Interface-Project-e796421f6ea2790a41f3a0f2dbb7b864c2dd043c.zip
add to .env file
-rw-r--r--blocks/eda-frontend/.env4
-rw-r--r--blocks/eda-frontend/package.json2
2 files changed, 5 insertions, 1 deletions
diff --git a/blocks/eda-frontend/.env b/blocks/eda-frontend/.env
index a0646cdf..c87f0058 100644
--- a/blocks/eda-frontend/.env
+++ b/blocks/eda-frontend/.env
@@ -1,3 +1,7 @@
+BROWSER=none
+PORT=3500
+WDS_SOCKET_PORT=80
+
REACT_APP_SHORT_NAME=Xcos
REACT_APP_NAME=Xcos
REACT_APP_FULL_NAME=Xcos
diff --git a/blocks/eda-frontend/package.json b/blocks/eda-frontend/package.json
index ef0c0d72..14cbcc7f 100644
--- a/blocks/eda-frontend/package.json
+++ b/blocks/eda-frontend/package.json
@@ -44,7 +44,7 @@
},
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js' --only-mapped --html result.html",
- "start": "BROWSER=none PORT=3500 react-scripts start",
+ "start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"