Scheduling infrastructure for absolutely everyone.
Attempt at redirect to 404 (#3877)
Alex van Andel1e5cb0bbd002
diff --git a/apps/web/next.config.js b/apps/web/next.config.jsindex 330cdf0700d..7f273e055fc 100644--- a/apps/web/next.config.js+++ b/apps/web/next.config.js@@ -136,6 +136,19 @@ const nextConfig = {destination: "/video/:path*",permanent: false,},+ /* Attempt to mitigate DDoS attack */+ {+ source: "/api/auth/:path*",+ has: [+ {+ type: "header",+ key: "User-Agent",+ value: "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)",+ },+ ],+ destination: "/404",+ permanent: false,+ },];if (process.env.NEXT_PUBLIC_WEBAPP_URL === "https://app.cal.com") {