How do I make the module “node-fetch” ignore URL validation when doing a request?
I am working in an existing network of docker containers. And to make communication between containers easier we have chosen to give network-aliases to each container. Now the problem I am having is that a URL might look like this: http://boefje:8000
and then when I do a request with node-fetch
I will get an TypeError [ERR_INVALID_URL]
error because an url like this should not exist.