Files
zentral/frontend/vite.config.ts
2025-12-01 10:00:40 +01:00

22 lines
425 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': {
target: 'http://localhost:5000',
changeOrigin: true,
secure: false,
},
'/hubs': {
target: 'http://localhost:5000',
changeOrigin: true,
ws: true,
}
}
}
})