From 52819a01bfcf3eb0be930a2603cf623adfd9c7cc Mon Sep 17 00:00:00 2001 From: Marc Portier Date: Sun, 17 Oct 2021 20:36:12 +0200 Subject: [PATCH] update protocol default to https --- lib/winapi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/winapi.js b/lib/winapi.js index 9db1c66..41085d5 100644 --- a/lib/winapi.js +++ b/lib/winapi.js @@ -23,7 +23,7 @@ function asArray(a) { function Client(settings) { - var protocol = settings.protocol || "http"; + var protocol = settings.protocol || "https"; this.handler = protocolHandler[protocol]; this.verbose = !!settings.verbose; // false if not set