Merge pull request #12033 from SpiralBrad/patch-1
Allows hosting in a subfolder instead of only root
This commit is contained in:
commit
c27f15a9f9
|
@ -96,10 +96,10 @@ function setupFileSystem(backend)
|
||||||
|
|
||||||
/* create an XmlHttpRequest filesystem for the bundled data */
|
/* create an XmlHttpRequest filesystem for the bundled data */
|
||||||
var xfs1 = new BrowserFS.FileSystem.XmlHttpRequest
|
var xfs1 = new BrowserFS.FileSystem.XmlHttpRequest
|
||||||
(".index-xhr", "/assets/frontend/bundle/");
|
(".index-xhr", "assets/frontend/bundle/");
|
||||||
/* create an XmlHttpRequest filesystem for core assets */
|
/* create an XmlHttpRequest filesystem for core assets */
|
||||||
var xfs2 = new BrowserFS.FileSystem.XmlHttpRequest
|
var xfs2 = new BrowserFS.FileSystem.XmlHttpRequest
|
||||||
(".index-xhr", "/assets/cores/");
|
(".index-xhr", "assets/cores/");
|
||||||
|
|
||||||
console.log("WEBPLAYER: initializing filesystem: " + backend);
|
console.log("WEBPLAYER: initializing filesystem: " + backend);
|
||||||
mfs.mount('/home/web_user/retroarch/userdata', afs);
|
mfs.mount('/home/web_user/retroarch/userdata', afs);
|
||||||
|
|
Loading…
Reference in New Issue