From 20857549d072d71681e3dbffd1760b0a7da1b707 Mon Sep 17 00:00:00 2001 From: Zaid Abdulla Date: Fri, 11 Oct 2019 11:58:20 -0700 Subject: [PATCH] Fix download URL when SSL is enabled --- lib/cwmp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cwmp.ts b/lib/cwmp.ts index fdafc11..e9d76ff 100644 --- a/lib/cwmp.ts +++ b/lib/cwmp.ts @@ -774,7 +774,7 @@ async function sendAcsRequest( downloadRequest.fileSize = 0; if (!downloadRequest.url) { const FS_PORT = config.get("FS_PORT"); - const FS_SSL = config.get("FS_SSL"); + const FS_SSL = config.get("FS_SSL_CERT"); let hostname = config.get("FS_HOSTNAME"); if (!hostname) { if (sessionContext.httpRequest.headers["host"])