Files
authsec_testreact/vite.config.js
T

24 lines
451 B
JavaScript
Raw Normal View History

2026-10-17 19:13:31 +05:30
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
proxy: {
'/token': {
target: 'http://localhost:9292',
changeOrigin: true,
secure: false,
},
'/api': {
target: 'http://localhost:9292',
changeOrigin: true,
secure: false,
},
},
},
})