Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Update proxy filters

Tomas Valentab03e2d0e87c9
diff --git a/pages/api/service/[...all].ts b/pages/api/service/[...all].ts
index affdb2b56..28d88259d 100644
--- a/pages/api/service/[...all].ts
+++ b/pages/api/service/[...all].ts
@@ -17,6 +17,7 @@ const isSecure = target.startsWith('https://')
const proxy = createProxyMiddleware<NextApiRequest, NextApiResponse>({
target,
+ pathFilter: '**',
// ws: true,
secure: !isSecure,
changeOrigin: true,
diff --git a/pages/api/supabase/[...all].ts b/pages/api/supabase/[...all].ts
index 6de1142fc..7be18ff40 100644
--- a/pages/api/supabase/[...all].ts
+++ b/pages/api/supabase/[...all].ts
@@ -19,6 +19,7 @@ const isSecure = target.startsWith('https://')
const proxy = createProxyMiddleware<NextApiRequest, NextApiResponse>({
target,
+ pathFilter: '**',
ws: true,
secure: !isSecure,
changeOrigin: true,