finetuned httpfs.js
This commit is contained in:
parent
b8e6428611
commit
dcade45f82
|
@ -21,7 +21,9 @@ if( typeof emulator != 'undefined' ){
|
||||||
response.status = 404
|
response.status = 404
|
||||||
callback(response)
|
callback(response)
|
||||||
})
|
})
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
callback()
|
||||||
})
|
})
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
|
@ -34,6 +34,7 @@ AFRAME.registerComponent('selfcontainer', {
|
||||||
|
|
||||||
installProxyServer: function(){
|
installProxyServer: function(){
|
||||||
if( !window.store ) window.store = {}
|
if( !window.store ) window.store = {}
|
||||||
|
|
||||||
// selfcontain every webrequest to store (and serve if stored)
|
// selfcontain every webrequest to store (and serve if stored)
|
||||||
let curry = function(me){
|
let curry = function(me){
|
||||||
return function(request, response, cb){
|
return function(request, response, cb){
|
||||||
|
|
Loading…
Reference in New Issue