From 5c88aa4fea092d45ec25d2d7e2a18519ad73d0e2 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Fri, 6 Sep 2024 21:22:26 +0200 Subject: [PATCH] Add commented-out Prometheus demo server as alternative to vite proxy config Signed-off-by: Julius Volz --- web/ui/mantine-ui/vite.config.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web/ui/mantine-ui/vite.config.ts b/web/ui/mantine-ui/vite.config.ts index ca52ca167..079605403 100644 --- a/web/ui/mantine-ui/vite.config.ts +++ b/web/ui/mantine-ui/vite.config.ts @@ -12,6 +12,14 @@ export default defineConfig({ "/-/": { target: "http://localhost:9090", }, + // "/api": { + // target: "https://prometheus.demo.do.prometheus.io/", + // changeOrigin: true, + // }, + // "/-/": { + // target: "https://prometheus.demo.do.prometheus.io/", + // changeOrigin: true, + // }, }, }, });