From 791a2c489efd88c566df710a7e074ba7327236af Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Tue, 10 Nov 2026 23:23:39 -0500 Subject: [PATCH] fix(site): keep the bare host as a custom domain --- services/site/cloudflare.config.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/services/site/cloudflare.config.ts b/services/site/cloudflare.config.ts index 58d84ea3bff..fd1d50b2be1 100644 --- a/services/site/cloudflare.config.ts +++ b/services/site/cloudflare.config.ts @@ -43,8 +43,10 @@ export default defineConfig(({ mode }) => { triggers.fetch({ pattern: `${host}/*`, zone: "opencode.ai" }), ] : [], - // The old docs host. The Worker sends its URLs to the same path on the V1 docs at /v1/docs. - domains: [`docs.${host}`], + // The bare host is a custom domain (it also supplies the DNS record), and cf detaches any domain + // not listed here. docs. is the old docs host: the Worker sends its URLs to the same path + // on the V1 docs at /v1/docs. + domains: [host, `docs.${host}`], workersDev: false, previewUrls: false, // Workers Logs: requests, errors and console output, searchable in the Cloudflare dashboard.