Point new UI local API proxying back to localhost Prometheus

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2024-07-25 14:28:56 +02:00
parent f7a97417a5
commit cacfc693c4

View file

@ -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",
},
},
},