We have two cloudflare workers that let us serve some assets of this repo from Cloudflare.
open-source-website-assetsis used forinstall.shdocs-proxyis used forhttps://zed.dev/docs
During docs deployments, both of these (and the files they depend on) are uploaded to Cloudflare.
Deployment
These functions are deployed by the docs deployment workflows. Worker Rules in Cloudflare intercept requests to zed.dev and proxy them to the appropriate workers.
Testing
You can use wrangler to test these workers locally, or to deploy custom versions.