#
luxiaotao1123
2024-12-17 49bf62a3fcb72e82167f25c8a2b3d87431c9416b
zy-acs-flow/src/config/setting.js
@@ -3,9 +3,7 @@
export const PORT = import.meta.env.COOL_BASE_PORT;
export const API_BASE_URL = 'http://' + IP + ':' + PORT + '';
export const WEBSOCKET_BASE_URL = 'ws://' + IP + ':' + PORT + '';
export const WEBSOCKET_BASE_URL = `${window.location.protocol === 'https:' ? 'wss://' : 'ws://'}${window.location.host}`;
export const PREFIX_BASE_URL = '/api/';