Files
boWave/dashboard/vite.config.js
2026-03-26 14:31:08 +01:00

16 lines
458 B
JavaScript

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 },
}
}
})