jfromaniello/url-join

Doesn't preserve double slash for URLs that don't have http/https specified.

Closed this issue · 1 comments

If I do urlJoin('//www.mywebsite.com/', 'whatever') it will return /www.mywebsite.com/whatever. I want to preserve the double slash so that the browser will use whatever transport it can.

Make sense