diff --git a/package.json b/package.json index f672d41..132096d 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "yup": "^1.1.1" }, "scripts": { - "start": "react-scripts start -e .env.production", + "start": "react-scripts start -e .env.development", "build": "react-scripts build -e .env.production", "test": "react-scripts test", "eject": "react-scripts eject" diff --git a/run.sh b/run.sh index 9482ba3..b55ed06 100755 --- a/run.sh +++ b/run.sh @@ -13,9 +13,9 @@ else # build the app and serve it via nginx echo "Production build" npm install --legacy-peer-deps - # npm run build + npm run build # Testing sometimes - npm run start + # npm run start nginx -g 'daemon off;' -c /usr/src/app/nginx.conf nginx -c /usr/src/app/nginx.conf fi