Update comment.

This commit is contained in:
axlan
2022-11-25 19:36:54 -08:00
parent 29c0fc2612
commit 7073720086

View File

@@ -2190,7 +2190,7 @@ function setRoundedCorners(value) {
//Various loaders //Various loaders
function imageURL(url, destination, otherParams) { function imageURL(url, destination, otherParams) {
var imageurl = url; var imageurl = url;
// If an image URL does not have HTTP in it, assume it's a local file at the HTML root directory. // If an image URL does not have HTTP in it, assume it's a local file in the repo local_art directory.
if (!url.includes('http')) { if (!url.includes('http')) {
imageurl = '/local_art/' + url; imageurl = '/local_art/' + url;
} else if (params.get('noproxy') != '') { } else if (params.get('noproxy') != '') {