Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: proxy for /hook/** api in vite for git push webhooks (#4619)

Liu Jidff8fb33b7e2
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts
index 10d7757ea8..3c902e9cdd 100644
--- a/frontend/vite.config.ts
+++ b/frontend/vite.config.ts
@@ -53,6 +53,10 @@ export default defineConfig(() => {
changeOrigin: true,
rewrite: (path: string) => path.replace(/^\/api/, ""),
},
+ "/hook": {
+ target: "http://localhost:8080/",
+ changeOrigin: true,
+ },
"/v1": {
target: "http://localhost:8080/v1",
changeOrigin: true,