Files
gander/frontend/vite.config.ts
Chris-1010 667088ec9e Fix: Checkout
Fix: Formatting
2025-01-23 14:50:45 +00:00

17 lines
322 B
TypeScript

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