Refactor `parseUrlPathname` and delete unused `parseUrl`
I deleted `parseUrl` utility because it was only used within `parseUrlPathname`. I then refactor `parseUrlPathname` using the `URL` inferface[1]. [1] https://developer.mozilla.org/en-US/docs/Web/API/URL
Showing
Please register or sign in to comment