This repository was archived by the owner on Mar 13, 2025. It is now read-only.
Commit 1d535b7
authored
Return copy of entry URL from
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.Miniflare#ready (#671)1 parent 1778afd commit 1d535b7
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1071 | 1071 | | |
1072 | 1072 | | |
1073 | 1073 | | |
1074 | | - | |
| 1074 | + | |
| 1075 | + | |
1075 | 1076 | | |
1076 | 1077 | | |
1077 | 1078 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
80 | 95 | | |
81 | 96 | | |
82 | 97 | | |
| |||
0 commit comments