mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08:00
Point new UI local API proxying back to localhost Prometheus
Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
parent
f7a97417a5
commit
cacfc693c4
|
@ -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,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue