Websocket client web app to test Twilio.

This commit is contained in:
Filipi Fuchter
2025-06-10 11:34:02 -03:00
parent 0bb61d72ab
commit 0073a868d4
9 changed files with 2349 additions and 9 deletions

View File

@@ -0,0 +1,15 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
export default defineConfig({
plugins: [react()],
server: {
proxy: {
// Proxy /api requests to the backend server
'/ws': {
target: 'http://0.0.0.0:8765', // Replace with your backend URL
changeOrigin: true,
},
},
},
});