From 7086d44cd43946ba95cfcf9ba9a70ec8baa5b691 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 14 Apr 2018 22:05:25 +0200 Subject: [PATCH] test tls settings --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index ea19b93..fdfc3be 100644 --- a/app.js +++ b/app.js @@ -146,7 +146,7 @@ app.get('/renderpdfview', function (req, res) { if (utils.isRefererValid(referer)) { url = req.query["url"]; if (url && utils.isValidURL(url)) { - childArgs = [config.crawlerFilePath, req.query["url"], showImage, debugMode]; + childArgs = [config.crawlerFilePath, req.query["url"], '--ssl-protocol=any'], showImage, debugMode; try { phantomProcess = childProcess.execFile(config.binPath, childArgs, { timeout: 25000 }, function (err, stdout, stderr) { utils.parsePhantomResponse(err, stdout, stderr, function (jsonResponse) {