diff --git a/.env b/.env index 9211af1..9a0ce4d 100644 --- a/.env +++ b/.env @@ -1,2 +1,2 @@ -REACT_APP_BASE_URL=http://192.168.124.20:3009/api/v1 +REACT_APP_BASE_URL=http://162.254.37.253:8082/api/v1 SKIP_PREFLIGHT_CHECK=true \ No newline at end of file diff --git a/.gitignore b/.gitignore index 7a74148..2119bd3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,6 @@ .idea build - .env.* .env.development .env.production diff --git a/package.json b/package.json index 5dfa294..43d7e9b 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,8 @@ "start": "cross-env PORT=3000 react-app-rewired start", "test": "react-app-rewired test", "build": "react-app-rewired build", - "deploy:dev": "npm run build && scp -r ./build/* vps:/home/ubuntu/pzy/filpool" + "deploy:dev": "npm run build && scp -r ./build/* vps:/home/ubuntu/pzy/filpool", + "deploy:prod": "npm run build && scp -r ./build/* dcfilefast_prod:/data/wwwroot/filpool" }, "eslintConfig": { "extends": "react-app"