mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-15 10:04:07 -08:00
1c91b82206
Signed-off-by: Julius Volz <julius.volz@gmail.com>
22 lines
444 B
TypeScript
22 lines
444 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
proxy: {
|
|
"/api": {
|
|
target: "https://demo.promlabs.com",
|
|
changeOrigin: true,
|
|
secure: false,
|
|
},
|
|
"/-/": {
|
|
target: "https://demo.promlabs.com",
|
|
changeOrigin: true,
|
|
secure: false,
|
|
},
|
|
},
|
|
},
|
|
});
|