linklogger/app/vite.config.ts
2024-11-10 16:36:16 -06:00

15 lines
271 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
// Proxy to the backend server
server: {
proxy: {
'/api': 'http://localhost:5252',
},
},
})