Avoid verifying SSL #yolo

This commit is contained in:
Brandon Keepers
2018-04-14 10:21:32 -05:00
parent 8828e64860
commit c9b90c9735

View File

@@ -19,7 +19,12 @@ begin
:file_ignore => [%r{_site/api/}],
:verbose => !!ENV["VERBOSE"],
:check_html => true,
:empty_alt_ignore => true
:empty_alt_ignore => true,
:typhoeus => {
# Work around SSL errors: https://github.com/gjtorikian/html-proofer/issues/376
:ssl_verifypeer => false,
:ssl_verifyhost => 0
}
).run
rescue => e
puts "\n", e