Skip to content

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

Update enterprise control management links (#3969)

Gergő Móricz74fc7f4311f9
diff --git a/apps/api/src/lib/ip-restriction.ts b/apps/api/src/lib/ip-restriction.ts
index cb40b6fa8..17e109884 100644
--- a/apps/api/src/lib/ip-restriction.ts
+++ b/apps/api/src/lib/ip-restriction.ts
@@ -155,7 +155,7 @@ export async function checkIpRestriction(
return {
allowed: false,
- error: `Request blocked: IP address ${clientIp ? normalizeIp(clientIp) : "unknown"} is not on this team's allowed IP list. Team admins can manage allowed IPs at https://www.firecrawl.dev/app/settings?tab=advanced`,
+ error: `Request blocked: IP address ${clientIp ? normalizeIp(clientIp) : "unknown"} is not on this team's allowed IP list. Team admins can manage allowed IPs at https://www.firecrawl.dev/app/enterprise-controls?tab=ip-restriction`,
status: 403,
};
}
diff --git a/apps/api/src/lib/key-restriction.ts b/apps/api/src/lib/key-restriction.ts
index da60669a8..9a67b0d5b 100644
--- a/apps/api/src/lib/key-restriction.ts
+++ b/apps/api/src/lib/key-restriction.ts
@@ -8,8 +8,7 @@ import type { TeamFlags } from "../controllers/v1/types";
// Propagation delay for dashboard edits to key_restriction_config.
const CONFIG_CACHE_TTL_SECONDS = 60;
-const MANAGE_RESTRICTIONS_URL =
- "https://www.firecrawl.dev/app/settings?tab=advanced";
+const MANAGE_RESTRICTIONS_URL = "https://www.firecrawl.dev/app/api-keys";
const configCacheKey = (apiKeyId: number) => `key-restriction:${apiKeyId}`;