dgx-spark-playbooks/community/litguard/ui/vite.config.ts
prashantkul 78213ac8a8 Add LitGuard playbook: prompt injection detection on DGX Spark
LitServe-based prompt injection detection server with a React monitoring
dashboard. Serves HuggingFace classification models behind an
OpenAI-compatible API with real-time metrics and GPU acceleration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 21:36:27 -07:00

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",
},
},
});