Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Fix type

Jakub Novakb31dd7bf4e81
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs
index f595fd4ea..fef9fd9c8 100644
--- a/apps/web/next.config.mjs
+++ b/apps/web/next.config.mjs
@@ -51,11 +51,11 @@ const nextConfig = {
headers: async () => [
{
source: '/:path*',
- headers: {
+ headers: [{
// config to prevent the browser from rendering the page inside a frame or iframe and avoid clickjacking http://en.wikipedia.org/wiki/Clickjacking
key: 'X-Frame-Options',
value: 'SAMEORIGIN'
- },
+ }],
}
],
webpack: config => {