From cacfc693c4e3367bccb993698ff4eff7d93f0fba Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Thu, 25 Jul 2024 14:28:56 +0200 Subject: [PATCH] Point new UI local API proxying back to localhost Prometheus Signed-off-by: Julius Volz --- web/ui/mantine-ui/vite.config.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/web/ui/mantine-ui/vite.config.ts b/web/ui/mantine-ui/vite.config.ts index 2972252228..ca52ca1672 100644 --- a/web/ui/mantine-ui/vite.config.ts +++ b/web/ui/mantine-ui/vite.config.ts @@ -7,14 +7,10 @@ export default defineConfig({ server: { proxy: { "/api": { - target: "https://demo.promlabs.com", - changeOrigin: true, - secure: false, + target: "http://localhost:9090", }, "/-/": { - target: "https://demo.promlabs.com", - changeOrigin: true, - secure: false, + target: "http://localhost:9090", }, }, },