Skip to content

armgit / E2B

Public Imported from GitHub
0

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

replace VERCEL_URL env variable with custom set NEXT_PUBLIC_DOMAIN in assetPrefix

Ben Fornefeld6ebdb17e679c
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs
index 003ed1c3b..6a84f307f 100644
--- a/apps/web/next.config.mjs
+++ b/apps/web/next.config.mjs
@@ -50,7 +50,7 @@ const nextConfig = {
basePath: '',
assetPrefix:
process.env.NODE_ENV === 'production'
- ? `https://${process.env.VERCEL_URL}`
+ ? `https://${process.env.NEXT_PUBLIC_DOMAIN}`
: undefined,
headers: async () => [
{