Skip to content

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

Update index.ts

Nicolas43c2e877e7a4
diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts
index fcd26b795..271d96d5d 100644
--- a/apps/api/src/index.ts
+++ b/apps/api/src/index.ts
@@ -232,7 +232,7 @@ app.post("/v0/crawl", async (req, res) => {
});
app.post("/v0/crawlWebsitePreview", async (req, res) => {
try {
- const { success, team_id, error, status } = await authenticateUser(req, res, RateLimiterMode.Crawl);
+ const { success, team_id, error, status } = await authenticateUser(req, res, RateLimiterMode.Preview);
if (!success) {
return res.status(status).json({ error });
}