diff --git a/deploy/cloudflare.mdx b/deploy/cloudflare.mdx index 3c5c01d05..f366e65ff 100644 --- a/deploy/cloudflare.mdx +++ b/deploy/cloudflare.mdx @@ -94,7 +94,7 @@ async function handleRequest(request) { return await fetch(proxyRequest); } } catch (error) { - // If no action found, play the regular request + // If no action found, serve the regular request return await fetch(request); } } @@ -103,7 +103,7 @@ async function handleRequest(request) { In addition to your subpath, your Worker must proxy `/mintlify-assets/*`, which serves the CSS, JavaScript, and favicons for your documentation, and `/_mintlify/*`, which handles API playground requests. - If you route traffic to your Worker with route patterns instead of a custom domain, add routes for `yoursite.com/mintlify-assets/*` and `yoursite.com/_mintlify/*` alongside your subpath route. These paths must originate from the root of your domain, not your subpath. + If you route traffic to your Worker with route patterns instead of a custom domain, add routes for `yoursite.com/mintlify-assets/*` and `yoursite.com/_mintlify/*` alongside your subpath route. These paths must originate from the root of your domain, not your subpath. Click **Deploy** and wait for the changes to propagate. diff --git a/es/deploy/cloudflare.mdx b/es/deploy/cloudflare.mdx index 9ecc62b6a..f88a1a1d0 100644 --- a/es/deploy/cloudflare.mdx +++ b/es/deploy/cloudflare.mdx @@ -102,7 +102,7 @@ async function handleRequest(request) { return await fetch(proxyRequest); } } catch (error) { - // If no action found, play the regular request + // If no action found, serve the regular request return await fetch(request); } }