Skip to content

Commit

Permalink
Fix download URL when SSL is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidka committed Oct 11, 2019
1 parent e31d74b commit 2085754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cwmp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit 2085754

Please sign in to comment.