Skip to content

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

Update map.ts

Nicolasaf9a0a6f0ba3
diff --git a/apps/api/src/controllers/v1/map.ts b/apps/api/src/controllers/v1/map.ts
index 7f71303f0..cd3e9ab76 100644
--- a/apps/api/src/controllers/v1/map.ts
+++ b/apps/api/src/controllers/v1/map.ts
@@ -55,12 +55,10 @@ export async function mapController(
let mapUrl = req.body.search
? `"${req.body.search}" site:${req.body.url}`
: `site:${req.body.url}`;
- console.log(mapUrl);
// www. seems to exclude subdomains in some cases
const mapResults = await fireEngineMap(mapUrl, {
numResults: 50,
});
- console.log(mapResults);
if (mapResults.length > 0) {
mapResults.map((x) => {