mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 10:56:30 +00:00
Fix #10
This commit is contained in:
parent
88a67238b5
commit
63b62ff80a
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ if (! path2Send.startsWith('/') && path2Send.split('://').length == 1 && path2Se
|
|||
path2Send = window.location.protocol + '//' + window.location.host + path2Send
|
||||
EJS_pathtodata = path2Send
|
||||
}
|
||||
if (EJS_pathtodata.startsWith('/')) {
|
||||
EJS_pathtodata = window.location.protocol + '//' + window.location.host + path2Send
|
||||
}
|
||||
|
||||
if (!EJS_pathtodata.endsWith('/')) {
|
||||
EJS_pathtodata = EJS_pathtodata+'/'
|
||||
|
|
Loading…
Reference in a new issue