Files
AluxPay/frontend/vite.config.js
matej a866801535 Added visualisation
Added return and cancel URL's
2025-09-28 02:29:07 +02:00

23 lines
605 B
JavaScript

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