Files
AluxPay/frontend/vite.config.js
2025-09-26 17:34:37 +02:00

22 lines
540 B
JavaScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
proxy: {
'/api': {
target: 'http://localhost:5001',
changeOrigin: true,
secure: false,
},
'/webhook': {
target: 'http://localhost:5001',
changeOrigin: true,
secure: false,
}
}
}
})