From 5e1c22674a0e344a183d2f5da5af38c233c0e23d Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Wed, 20 Nov 2024 21:51:07 -0500 Subject: [PATCH] correct files --- package.json | 2 +- run.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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