mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
Revert "Revert "require https for external links""
This reverts commit af5f80ddfd845de5cf59cfe5594953e84641990b. New release of pages gem should allow this to work.
This commit is contained in:
parent
680ac9ddb4
commit
260bae00d9
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} => '' },
|
||||||
hydra: { max_concurrency: 10 },
|
hydra: { max_concurrency: 10 },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user