Skip to content

Commit b93c1b4

Browse files
committed
chore: move PORT from package.json to .env
1 parent 2c03b59 commit b93c1b4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
REACT_APP_API_ENDPOINT=http://localhost:3000
2+
PORT=3001

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"fsevents": "*"
4646
},
4747
"scripts": {
48-
"start": "PORT=3001 craco start",
48+
"start": "craco start",
4949
"build": "craco build",
5050
"test": "craco test",
5151
"eject": "react-scripts eject",

0 commit comments

Comments
 (0)