mirror of
https://github.com/photonstorm/phaser
synced 2024-11-13 00:17:24 +00:00
Merge branch 'master' of https://github.com/photonstorm/phaser
This commit is contained in:
commit
f7e9ed027a
2 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ var File = new Class({
|
|||
{
|
||||
url = loader.path + loadKey + '.' + GetFastValue(fileConfig, 'extension', '');
|
||||
}
|
||||
else if (typeof url === 'string' && !url.match(/^(?:blob:|data:|http:\/\/|https:\/\/|\/\/)/))
|
||||
else if (typeof url === 'string' && !url.match(/^(?:blob:|data:|capacitor:\/\/|http:\/\/|https:\/\/|\/\/)/))
|
||||
{
|
||||
url = loader.path + url;
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ var GetURL = function (file, baseURL)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (file.url.match(/^(?:blob:|data:|http:\/\/|https:\/\/|\/\/)/))
|
||||
if (file.url.match(/^(?:blob:|data:|capacitor:\/\/|http:\/\/|https:\/\/|\/\/)/))
|
||||
{
|
||||
return file.url;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue