mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Fixed wrong initiator url (#1050)
This commit is contained in:
@@ -227,7 +227,7 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
|
|||||||
log.append(initiator, channelHost + channelPath, '-', true);
|
log.append(initiator, channelHost + channelPath, '-', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Object.keys(mappings.cdn).includes(channelHost)) {
|
if (Object.keys(mappings.cdn).includes(helpers.extractDomainFromUrl(initiator, true))) {
|
||||||
return {'result': 'blocked'};
|
return {'result': 'blocked'};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user