From 4ca8a4c334116da322911d4aa6f7f4dc2020084d Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sun, 5 Apr 2020 22:41:29 +0300 Subject: [PATCH] Move PUBLIC_URL and PORT env variables to .env file --- .env | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.env b/.env index d807ddc..283d7ff 100644 --- a/.env +++ b/.env @@ -1 +1,3 @@ +PUBLIC_URL=http://*/app3 +PORT=3006 REACT_APP_TEST_KEY = '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!' \ No newline at end of file diff --git a/package.json b/package.json index b0dfced..5cf3082 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "react-scripts": "^3.1.1" }, "scripts": { - "start": "SET PUBLIC_URL=http://*/app3&&SET PORT=3006&& react-scripts start", + "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject"