From e3205fe97b5142ecb428da698eac8dcad2d25d85 Mon Sep 17 00:00:00 2001 From: yyy9608 Date: Tue, 19 Dec 2023 13:56:55 +0800 Subject: [PATCH] commit --- package.json | 2 +- src-tauri/tauri.conf.json | 4 ++-- src/config/index.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 6b8e9e2..33b794e 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "test": "react-app-rewired test", "build": "react-app-rewired build", "deploy:dev": "npm run build && scp -r ./build/* vps:/home/ubuntu/pzy/simple", - "deploy:prod:dc": "npm run build && scp -r ./build/* dcfilefast_prod:/data/wwwroot/admin-filefast" + "deploy:prod": "npm run build && scp -r ./build/* metatrader_prod:/data/wwwroot/admin-simple" }, "eslintConfig": { "extends": "react-app" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index f64900a..c68aff7 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -3,7 +3,7 @@ "beforeBuildCommand": "npm run build", "beforeDevCommand": "npm run start", "devPath": "http://localhost:3000", - "distDir": "../build" + "distDir": "http://192.168.124.20:3001" }, "package": { "productName": "metatrader-admin", @@ -53,7 +53,7 @@ "active": false }, "windows": [{ - "fullscreen": false, + "fullscreen": true, "minHeight": 600, "resizable": true, "title": "metatrader-admin", diff --git a/src/config/index.ts b/src/config/index.ts index d83f500..328b30e 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -1,10 +1,10 @@ export const httpIp = { simpleTradeKey: { dev: 'http://14.29.101.215:30303/api/v1', - prod: 'http://203.161.61.234:30303/api/v1' + prod: 'https://simpletrade.site/api/v1' } } export const getBaseURL = () => { - return httpIp.simpleTradeKey.dev + return httpIp.simpleTradeKey.prod }