mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
Update main.js: fix broken gallery ?
Use MrTeferi/ instead of ImKyle4815/ in raw.githubusercontent.com URLs
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