Skip to content

Commit 0df90f8

Browse files
committed
followHTTPRedirect true by default
1 parent 8b9024d commit 0df90f8

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

plugins/domains/dailymail.com/dailymail.hash-redirects.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ export default {
2020
}
2121
},
2222

23-
getData: function(urlMatch, options) {
23+
getData: function(options) {
2424
options.exposeStatusCode = true;
25-
if (/dailymail\.co\.uk/.test(urlMatch[0])) {
26-
options.followHTTPRedirect = false;
27-
}
2825
},
2926

3027
tests: [{skipMethods: ['getData', 'getLink']},

0 commit comments

Comments
 (0)