mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-02-02 20:37:04 +01:00
Added logging in console
This commit is contained in:
parent
fe3bc0274a
commit
e1061eaa34
@ -129,6 +129,7 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
|
||||
targetPath = targetPath + filename + 'm';
|
||||
}
|
||||
|
||||
console.log('[ LocalCDN ] Replaced resource: ' + targetPath);
|
||||
// Prepare and return a local target.
|
||||
return {
|
||||
'source': channelHost,
|
||||
@ -138,7 +139,7 @@ requestAnalyzer._findLocalTarget = function (resourceMappings, basePath, channel
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
console.warn('[ LocalCDN ] Missing resource: ' + channelHost + channelPath);
|
||||
return false;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user