Last active
October 4, 2016 08:27
-
-
Save rolinh/0121924ccabb9cd1b188a3669a3695f8 to your computer and use it in GitHub Desktop.
url resolve bug?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> var url = require("url"); | |
undefined | |
> url.resolve("https://foo.tld", "bar"); | |
'https://foo.tld/bar' | |
> url.resolve("wss://foo.tld", "bar"); | |
'wss://bar' | |
> url.resolve("ftps://foo.tld", "bar"); | |
'ftps://bar' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment