-
Notifications
You must be signed in to change notification settings - Fork 673
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return copy of entry URL from
Miniflare#ready
(#671)
There are cases where mutating the URL returned from `Miniflare#ready` may be desirable, e.g. changing the protocol to `ws:` and using the `ws` module to establish a WebSocket connection. Previously, doing this would break Miniflare's `dispatchFetch`, as the returned URL was Miniflare's own internal reference. This change makes sure we return a copy.
- Loading branch information
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters