Move PUBLIC_URL and PORT env variables to .env file
parent
800e148ff2
commit
4ca8a4c334
2
.env
2
.env
|
@ -1 +1,3 @@
|
||||||
|
PUBLIC_URL=http://*/app3
|
||||||
|
PORT=3006
|
||||||
REACT_APP_TEST_KEY = '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'
|
REACT_APP_TEST_KEY = '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue