1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 04:40:09 +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:
Mike Linksvayer 2019-01-29 09:28:05 -08:00
parent 680ac9ddb4
commit 260bae00d9

View File

@ -14,6 +14,7 @@ task :test do
Rake::Task['spec'].invoke
HTMLProofer.check_directory('./_site',
check_html: true,
enforce_https: true,
validation: { ignore_script_embeds: true },
url_swap: { %r{https://choosealicense.com} => '' },
hydra: { max_concurrency: 10 },