#
vincentlu
2025-03-27 cd67e854d4715bc92a16dc7bffdbde7be1da9957
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/';