Skip to content

Commit 2d8cca1

Browse files
authored
fix(config-ui): fix grafana proxy in dev mode (#8499)
1 parent d4a1957 commit 2d8cca1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config-ui/vite.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ export default defineConfig({
3535
changeOrigin: true,
3636
rewrite: (path) => path.replace(/^\/api\//, ''),
3737
},
38+
'/grafana': {
39+
target: 'http://localhost:3002/',
40+
changeOrigin: true,
41+
},
3842
},
3943
},
4044

0 commit comments

Comments
 (0)