mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
Update main.js
This commit is contained in:
@@ -27,7 +27,7 @@ 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/ImKyle4815/cardconjurer/master';
|
||||||
if (input.includes(prefix) || input.includes('http') || params.get('testing')) {
|
if (input.includes(prefix) || input.includes('http')) {
|
||||||
return input;
|
return input;
|
||||||
} else {
|
} else {
|
||||||
return prefix + input;
|
return prefix + input;
|
||||||
|
Reference in New Issue
Block a user