mirror of
https://github.com/github/choosealicense.com
synced 2025-01-09 05:04:35 +01:00
require https for external links
This commit is contained in:
parent
92ce139709
commit
bb0bb92b51
1
Rakefile
1
Rakefile
@ -14,6 +14,7 @@ task :test do
|
|||||||
Rake::Task['spec'].invoke
|
Rake::Task['spec'].invoke
|
||||||
HTMLProofer.check_directory('./_site',
|
HTMLProofer.check_directory('./_site',
|
||||||
check_html: true,
|
check_html: true,
|
||||||
|
enforce_https: true,
|
||||||
validation: { ignore_script_embeds: true },
|
validation: { ignore_script_embeds: true },
|
||||||
url_swap: { %r{https://choosealicense.com} => '' },
|
url_swap: { %r{https://choosealicense.com} => '' },
|
||||||
check_img_http: true).run
|
check_img_http: true).run
|
||||||
|
Loading…
x
Reference in New Issue
Block a user