Files
Inboxintel/frontend/vite.config.js
T
2026-06-30 15:53:32 +02:00

17 lines
375 B
JavaScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
proxy: {
// Proxy API calls to the .NET backend during development.
'/api': {
target: process.env.VITE_API_TARGET || 'http://localhost:5080',
changeOrigin: true
}
}
}
});