Move PUBLIC_URL and PORT env variables to .env file

master
Tudor Stanciu 2020-04-05 22:41:29 +03:00
parent 800e148ff2
commit 4ca8a4c334
2 changed files with 3 additions and 1 deletions

2
.env
View File

@ -1 +1,3 @@
PUBLIC_URL=http://*/app3
PORT=3006
REACT_APP_TEST_KEY = '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!' REACT_APP_TEST_KEY = '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'

View File

@ -16,7 +16,7 @@
"react-scripts": "^3.1.1" "react-scripts": "^3.1.1"
}, },
"scripts": { "scripts": {
"start": "SET PUBLIC_URL=http://*/app3&&SET PORT=3006&& react-scripts start", "start": "react-scripts start",
"build": "react-scripts build", "build": "react-scripts build",
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject" "eject": "react-scripts eject"