Files
runners-calendar/frontend/vite.config.ts
Anton 8eaf006906
Some checks failed
CI / build-and-test (pull_request) Has been cancelled
refactor(api): unify /api contract across frontend, nginx, and backend
2026-04-08 11:59:46 +03:00

15 lines
267 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
server: {
proxy: {
"/api": {
target: "http://localhost:3001",
changeOrigin: true,
},
},
},
});