| 123456789101112131415161718 |
- import { defineConfig } from 'vite';
- import react from '@vitejs/plugin-react';
- export default defineConfig({
- plugins: [react()],
- server: {
- proxy: {
- '/api': {
- target: 'http://localhost:3000',
- changeOrigin: true,
- },
- '/ws/rdp': {
- target: 'ws://localhost:3000',
- ws: true,
- },
- },
- },
- });
|