invoice_extractor / frontend /vite.config.js
github-actions[bot]
Sync from GitHub: 922d61677657398e61342f3cabff773c13c26de4
060dc2a
raw
history blame contribute delete
393 Bytes
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
proxy: {
'/process-invoice': {
target: 'http://localhost:8000',
changeOrigin: true,
},
'/batch-process': {
target: 'http://localhost:8000',
changeOrigin: true,
}
}
}
})