Replies: 1 comment 1 reply
-
what is wrong with a url that includes a port? const url = new URL('https://localhost')
Object.assign(url, { port: 3333 })
fetch(url) A tiny bit verbose but gets the job done. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just a suggestion... I would like to know what others think about it.
Beta Was this translation helpful? Give feedback.
All reactions