Files
lincodex/frontend/vite.config.ts
T
2026-10-05 14:23:31 +03:00

19 lines
340 B
TypeScript

import react from "@vitejs/plugin-react";
import { defineConfig } from "vitest/config";
export default defineConfig({
plugins: [react()],
server: {
proxy: {
"/api": {
target: "http://127.0.0.1:8080",
changeOrigin: true,
},
},
},
test: {
environment: "node",
restoreMocks: true,
},
});