prometheus/web/ui/mantine-ui/vite.config.ts
Julius Volz 1c91b82206 Initial uPlot work in Mantine UI
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-21 18:26:11 +02:00

22 lines
444 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
proxy: {
"/api": {
target: "https://demo.promlabs.com",
changeOrigin: true,
secure: false,
},
"/-/": {
target: "https://demo.promlabs.com",
changeOrigin: true,
secure: false,
},
},
},
});