Skip to content

Commit

Permalink
fixup! fix: ensure we do not rewrite external Origin headers in wrang…
Browse files Browse the repository at this point in the history
…ler dev
  • Loading branch information
petebacondarwin committed Feb 9, 2024
1 parent 2112775 commit ee8af06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wrangler/templates/startDevWorker/ProxyWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ function insertLiveReloadScript(
}

/**
* Rewrite references to URLs in request headers.
* Rewrite references to URLs in request/response headers.
*
* This function is used to map the URLs in headers like Origin and Access-Control-Allow-Origin
* so that this proxy is transparent to the Client Browser and User Worker.
Expand Down

0 comments on commit ee8af06

Please sign in to comment.