From 06a9757c727c6bc15595d5f56a0e309077025741 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 17 四月 2024 09:22:14 +0800 Subject: [PATCH] Merge branch 'Four-Way-Rack' of http://47.97.1.152:5880/r/zy-asrs-master into Four-Way-Rack --- zy-asrs-flow/src/config/setting.ts | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/zy-asrs-flow/src/config/setting.ts b/zy-asrs-flow/src/config/setting.ts index d1e75bd..7b4620b 100644 --- a/zy-asrs-flow/src/config/setting.ts +++ b/zy-asrs-flow/src/config/setting.ts @@ -1,5 +1,11 @@ // 鎺ュ彛鍦板潃 -export const API_BASE_URL: string = 'http://192.168.4.113:9090/wcs'; +export const IP: string = 'localhost'; +export const PORT: number = 9090; + +export const API_BASE_URL: string = 'http://' + IP + ':' + PORT + '/wcs'; +export const WEBSOCKET_BASE_URL: string = 'ws://' + IP + ':' + PORT + '/wcs'; + +export const API_TIMEOUT: number = 60; // 椤圭洰鍚嶇О export const PROJECT_NAME: string = 'admin'; -- Gitblit v1.9.1