mirror of https://github.com/sveltejs/svelte
fix: sync SvelteURL port when protocol setter clears it (#18705)
Per the WHATWG URL spec, assigning a new protocol can clear the URL's port when the current port equals the new scheme's default port. Therefore also `set` the port when the protocol is updated.pull/18710/head
parent
6b16b7f73f
commit
c894afd8c7
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: sync `SvelteURL` port signal when the protocol setter clears the port
|
||||
Loading…
Reference in new issue