costco-grocery-list/frontend/vite.config.ts
2025-11-21 18:09:46 -08:00

22 lines
439 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
allowedHosts: ["costco.nicosaya.com", "www.costco.nicosaya.com"],
watch: {
usePolling: true,
},
host: true,
strictPort: true,
proxy: {
'/api': {
target: 'http://localhost:5000',
changeOrigin: true,
secure: false,
},
},
},
})