Skip to content
Snippets Groups Projects
Commit e26ae75f authored by Gabriel Engel's avatar Gabriel Engel
Browse files

Merge pull request #749 from RocketChat/bugfix-727

Allow invalid ssl certs.  IE self signed on oembed fetch
parents 8fdb3dbf 964b3670
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@ getUrlContent = (urlObj, redirectCount = 5, callback) ->
port: urlObj.port
hostname: urlObj.hostname
path: urlObj.path
rejectUnauthorized: false
httpOrHttps = if urlObj.protocol is 'https:' then https else http
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment