mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
Update comment.
This commit is contained in:
@@ -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') != '') {
|
||||||
|
Reference in New Issue
Block a user