Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

chore(api): disable x-powered-by (#2483)

tom8168e7215419
diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts
index 142663b1b..51bf7c187 100644
--- a/apps/api/src/index.ts
+++ b/apps/api/src/index.ts
@@ -69,6 +69,8 @@ app.use(cors()); // Add this line to enable CORS
app.use(responseTime());
+app.disable("x-powered-by");
+
if (process.env.EXPRESS_TRUST_PROXY) {
app.set("trust proxy", parseInt(process.env.EXPRESS_TRUST_PROXY, 10));
}