Skip to content

Commit d780400

Browse files
committed
miscweb: import redirects for qunitjs.org from Cloudflare
1 parent 71072e6 commit d780400

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

hieradata/environments/production/roles/miscweb.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,3 +281,11 @@ profile::miscweb::redirects:
281281
target: https://qunitjs.com
282282
mode: prefix
283283
certificate: miscweb-a
284+
api.qunitjs.org:
285+
target: https://qunitjs.com
286+
mode: prefix
287+
certificate: miscweb-a
288+
qunitjs.org:
289+
target: https://qunitjs.com
290+
mode: prefix
291+
certificate: miscweb-a

test/MiscwebTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
'http://docs.jquery.com/UI/API/1.7.1/Datepicker' => 'https://api.jqueryui.com/datepicker/',
2323
'http://docs.jquery.com/QUnit/deepEqual' => 'https://api.qunitjs.com/deepEqual/',
2424
'http://docs.jquery.com/$' => 'https://api.jquery.com/jQuery/',
25+
'https://api.qunitjs.com/deepEqual/' => 'https://qunitjs.com/deepEqual/',
2526
] as $url => $expected ) {
2627
Unit::testHttp( $url, null, [], [
2728
'status' => '301',

0 commit comments

Comments
 (0)