From 8f0530194275d98e74cb5ac8ba8bb7e0edaff96b Mon Sep 17 00:00:00 2001 From: mac Date: Wed, 22 May 2024 18:20:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- .gitignore | 1 - package.json | 3 ++- 3 files changed, 3 insertions(+), 3 deletions(-) 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"