zrok/ui100/vite.config.ts

16 lines
293 B
TypeScript
Raw Normal View History

2024-11-20 17:58:02 +01:00
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
2024-11-20 20:10:34 +01:00
server: {
proxy: {
'/api/v1': {
target: 'http://localhost:18080',
changeOrigin: true,
}
}
}
2024-11-20 17:58:02 +01:00
})