forked from GithubMirrors/cardconjurer
Switch to using dedicated directory.
This commit is contained in:
@@ -2192,7 +2192,7 @@ 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 at the HTML root directory.
|
||||||
if (!url.includes('http')) {
|
if (!url.includes('http')) {
|
||||||
imageurl = '/' + url;
|
imageurl = '/local_art/' + url;
|
||||||
} else if (params.get('noproxy') != '') {
|
} else if (params.get('noproxy') != '') {
|
||||||
//CORS PROXY LINKS
|
//CORS PROXY LINKS
|
||||||
//Previously: https://cors.bridged.cc/
|
//Previously: https://cors.bridged.cc/
|
||||||
|
2
local_art/.gitignore
vendored
Normal file
2
local_art/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
Reference in New Issue
Block a user