mirror of
https://github.com/zhigang1992/favicongrabber.com.git
synced 2026-05-01 02:51:40 +08:00
Disable stripWWW option
This commit is contained in:
@@ -12,7 +12,8 @@ module.exports = (domain, options, done) => {
|
||||
const url = new URL(icon.src, baseUrl);
|
||||
if (options.normalizeUrl) {
|
||||
icon.src = normalizeUrl(url.href, {
|
||||
removeQueryParameters: [ /.+/, ],
|
||||
removeQueryParameters: [/.+/],
|
||||
stripWWW: false,
|
||||
});
|
||||
} else {
|
||||
icon.src = url.href;
|
||||
|
||||
Reference in New Issue
Block a user