Skip to content

Commit

Permalink
test tls settings
Browse files Browse the repository at this point in the history
  • Loading branch information
micmro committed Apr 14, 2018
1 parent 0d8ad95 commit 7086d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7086d44

Please sign in to comment.