Skip to content

Commit

Permalink
Fix changed API of html-proofer
Browse files Browse the repository at this point in the history
  • Loading branch information
mukrop committed Aug 11, 2023
1 parent c3a2696 commit 38d410f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions utils/web-test.rb
@@ -1,23 +1,28 @@
require 'html-proofer'

options = {
:assume_extension => true,
:assume_extension => '.html',
:enforce_https => false,
:allow_missing_href => true,
:check_favicon => true,
:check_html => true,
:check_img_http => true,
:disable_external => true
}

options_external = {
:assume_extension => true,
:assume_extension => '.html',
:enforce_https => false,
:external_only => true,
:typhoeus => {
:connecttimeout => 30, # default: 10
:timeout => 60 # default: 30
},
:cache => {
:storage_dir => '.cache/.htmlproofer',
:timeframe => '7d'
:timeframe => {
:external => '7d'
}
},
# :log_level => :debug
}
Expand Down

0 comments on commit 38d410f

Please sign in to comment.