Logo
Explore Help
Sign In
blandarebiter/bigwo
1
0
Fork 0
You've already forked bigwo
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
master
bigwo/delivery/client/vite.config.js

28 lines
540 B
JavaScript
Raw Permalink Normal View History

fix(voice-gateway): S2S idle timeout + upstream send lock + iOS AudioContext suspended + port 3012→3013 - P0: S2S DialogAudioIdleTimeoutError now notifies client instead of force-closing, sets upstreamReady=false and cancels keepalive - P0: Reduce audioKeepaliveIntervalMs from 20s to 8s to prevent S2S idle timeout - P1: Add upstreamSendLock to prevent concurrent IllegalStateException: Send pending - P1: iOS AudioContext suspended handling - buffer audio chunks and try resume after user interaction - P1: disconnect() clears pendingAudioChunks and _resuming to prevent memory leak - Fix: Frontend hardcoded port 3012→3013 in videoApi.js and vite.config.js - Add complete Java backend source code to git tracking
2026-04-16 19:16:11 +08:00
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import tailwindcss from '@tailwindcss/vite';
const backendTarget = 'http://localhost:3013';
export default defineConfig({
plugins: [react(), tailwindcss()],
build: {
outDir: 'dist',
sourcemap: false,
},
server: {
port: 5174,
proxy: {
'/api': {
target: backendTarget,
changeOrigin: true,
},
'/ws': {
target: backendTarget,
changeOrigin: true,
ws: true,
},
},
},
});
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 319ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API