mirror of
https://github.com/NVIDIA/dgx-spark-playbooks.git
synced 2026-04-26 20:03:52 +00:00
17 lines
393 B
TypeScript
17 lines
393 B
TypeScript
|
|
import { defineConfig } from "vite";
|
||
|
|
import react from "@vitejs/plugin-react";
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
plugins: [react()],
|
||
|
|
server: {
|
||
|
|
port: 3000,
|
||
|
|
proxy: {
|
||
|
|
"/health": "http://localhost:8234",
|
||
|
|
"/models": "http://localhost:8234",
|
||
|
|
"/metrics": "http://localhost:8234",
|
||
|
|
"/api": "http://localhost:8234",
|
||
|
|
"/v1": "http://localhost:8234",
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|