fix(core): update

This commit is contained in:
Philipp Kunz 2019-08-16 22:00:01 +02:00
parent 5f27b6834c
commit 9db29bacc2

View File

@ -88,6 +88,8 @@ export let request = async (
optionsArg.path = detailedUnixPath.path;
}
// TODO: support tcp sockets
// lets determine the request module to use
const requestModule = (() => {
if (parsedUrl.protocol === 'https:') {