cloudflare / miniflare

🔥 Fully-local simulator for Cloudflare Workers. For the latest version, see https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare.
https://miniflare.dev
MIT License
3.78k stars 205 forks source link

decouple MF-Original-URL header from disabling the pretty-error page #689

Closed RamIdeas closed 1 year ago

RamIdeas commented 1 year ago

See https://jira.cfdata.org/browse/DEVX-945 for context

TL;DR this PR decouples the MF-Original-URL header from disabling the pretty-error page and instead uses an explicit MF-Disable-Pretty-Error header to disable it.

This allows MF-Original-URL to be set without disabling the pretty-error page.

changeset-bot[bot] commented 1 year ago

⚠️ No Changeset found

Latest commit: 0fa01b603bd31472abf6c889faea748ccee4ebc3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR