import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' export default defineConfig({ plugins: [react()], server: { port: 8080, proxy: { '/signalk': { target: 'http://localhost:3000', ws: true }, '/snapcast-ws': { target: 'http://localhost:1780', ws: true }, '/mopidy': { target: 'http://localhost:6680', ws: true }, '/jellyfin': { target: 'http://localhost:8096', changeOrigin: true }, } } })