diff --git a/apps/cli-docs/vercel/build-output.mjs b/apps/cli-docs/vercel/build-output.mjs index 88870423b..2d3902a5e 100644 --- a/apps/cli-docs/vercel/build-output.mjs +++ b/apps/cli-docs/vercel/build-output.mjs @@ -18,8 +18,10 @@ const routes = [ dest: "/install-source/install$1/index.html", check: true, }, + // Only the raw script is plain text; the browser page above stays HTML. { src: "^/install$", + missing: [{ type: "header", key: "accept", value: { re: ".*text/html.*" } }], headers: { "Content-Type": "text/plain; charset=utf-8" }, continue: true, },