Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
docs: Black-hole zombie pages
Marshall Bowersc4c07583c330
diff --git a/.cloudflare/docs-proxy/src/worker.js b/.cloudflare/docs-proxy/src/worker.jsindex f9f441883ad..b29ddc00f15 100644--- a/.cloudflare/docs-proxy/src/worker.js+++ b/.cloudflare/docs-proxy/src/worker.js@@ -3,6 +3,15 @@ export default {const url = new URL(request.url);url.hostname = "docs-anw.pages.dev";+ // These pages were removed, but may still be served due to Cloudflare's+ // [asset retention](https://developers.cloudflare.com/pages/configuration/serving-pages/#asset-retention).+ if (+ url.pathname === "/docs/assistant/context-servers" ||+ url.pathname === "/docs/assistant/model-context-protocol"+ ) {+ return await fetch("https://zed.dev/404");+ }+let res = await fetch(url, request);if (res.status === 404) {