mirror of
https://git.meshkee.com/novintrades/website.git
synced 2026-08-11 20:50:58 +04:30
23 lines
486 B
TypeScript
23 lines
486 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
host: "127.0.0.1",
|
|
port: 5173,
|
|
strictPort: true,
|
|
allowedHosts: ["novintrades.local", "novintrades.test"],
|
|
proxy: {
|
|
"/api": {
|
|
target: "http://127.0.0.1:3000",
|
|
changeOrigin: true,
|
|
},
|
|
"/health": {
|
|
target: "http://127.0.0.1:3000",
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
});
|