We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fd3e0b commit c600771Copy full SHA for c600771
lib/load.js
@@ -115,7 +115,8 @@ var Loader = function (data) {
115
var $ = cheerio.load(html);
116
$('base').each(function () {
117
var self = $(this);
118
- options.url = self.attr('href');
+ var href = self.attr('href');
119
+ options.url = utils.getAbsolutePath(options.url, href);
120
logger.log('Found <base>. Url changed to ' + options.url);
121
self.remove();
122
});
0 commit comments