correct files

This commit is contained in:
CHIEFSOFT\ameye
2024-11-20 21:51:07 -05:00
parent 1f58eec668
commit 5e1c22674a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
"yup": "^1.1.1" "yup": "^1.1.1"
}, },
"scripts": { "scripts": {
"start": "react-scripts start -e .env.production", "start": "react-scripts start -e .env.development",
"build": "react-scripts build -e .env.production", "build": "react-scripts build -e .env.production",
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject" "eject": "react-scripts eject"
+2 -2
View File
@@ -13,9 +13,9 @@ else
# build the app and serve it via nginx # build the app and serve it via nginx
echo "Production build" echo "Production build"
npm install --legacy-peer-deps npm install --legacy-peer-deps
# npm run build npm run build
# Testing sometimes # Testing sometimes
npm run start # npm run start
nginx -g 'daemon off;' -c /usr/src/app/nginx.conf nginx -g 'daemon off;' -c /usr/src/app/nginx.conf
nginx -c /usr/src/app/nginx.conf nginx -c /usr/src/app/nginx.conf
fi fi