feat: 整合 sse 推送

This commit is contained in:
xlsea
2024-09-02 09:34:34 +08:00
parent 6afd5cc36a
commit 89f5e8577e
15 changed files with 105 additions and 25 deletions

View File

@ -36,7 +36,7 @@ export function createServiceConfig(env: Env.ImportMeta) {
const config: App.Service.ServiceConfig = {
baseURL: httpConfig.baseURL,
ws: VITE_APP_WEBSOCKET === 'true',
ws: VITE_APP_WEBSOCKET === 'Y',
proxyPattern: VITE_APP_BASE_API,
other: otherConfig
};