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: { server: {
proxy: { proxy: {
"/api": { "/api": {
target: "https://demo.promlabs.com", target: "http://localhost:9090",
changeOrigin: true,
secure: false,
}, },
"/-/": { "/-/": {
target: "https://demo.promlabs.com", target: "http://localhost:9090",
changeOrigin: true,
secure: false,
}, },
}, },
}, },