mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
Merge pull request #9 from Naereen/patch-1
Update main.js: fix broken gallery ?
This commit is contained in:
@@ -26,7 +26,7 @@ cornerCutout.crossOrigin = 'anonymous';
|
|||||||
cornerCutout.src = '/data/images/cardImages/cornerCutout.png'
|
cornerCutout.src = '/data/images/cardImages/cornerCutout.png'
|
||||||
//To save the server from being overloaded? Maybe?
|
//To save the server from being overloaded? Maybe?
|
||||||
function fixUri(input) {
|
function fixUri(input) {
|
||||||
var prefix = 'https://raw.githubusercontent.com/ImKyle4815/cardconjurer/master';
|
var prefix = 'https://raw.githubusercontent.com/MrTeferi/cardconjurer/master';
|
||||||
if (input.includes(prefix) || input.includes('http')) {
|
if (input.includes(prefix) || input.includes('http')) {
|
||||||
return input;
|
return input;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user