From 29c0fc2612f82720f1a5113ecafa8c71faaad59f Mon Sep 17 00:00:00 2001 From: axlan Date: Fri, 25 Nov 2022 19:21:21 -0800 Subject: [PATCH] Switch to using dedicated directory. --- js/creator-23.js | 2 +- local_art/.gitignore | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 local_art/.gitignore diff --git a/js/creator-23.js b/js/creator-23.js index d0fd896d..db62c1a5 100644 --- a/js/creator-23.js +++ b/js/creator-23.js @@ -2192,7 +2192,7 @@ function imageURL(url, destination, otherParams) { 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 (!url.includes('http')) { - imageurl = '/' + url; + imageurl = '/local_art/' + url; } else if (params.get('noproxy') != '') { //CORS PROXY LINKS //Previously: https://cors.bridged.cc/ diff --git a/local_art/.gitignore b/local_art/.gitignore new file mode 100644 index 00000000..d6b7ef32 --- /dev/null +++ b/local_art/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore