finetuned httpfs.js
All checks were successful
/ mirror_to_github (push) Successful in 18s
/ test (push) Successful in 4s

This commit is contained in:
Leon van Kammen 2024-11-19 16:00:49 +00:00
parent b8e6428611
commit dcade45f82
2 changed files with 3 additions and 0 deletions

View file

@ -21,7 +21,9 @@ if( typeof emulator != 'undefined' ){
response.status = 404
callback(response)
})
return
}
callback()
})
})

View file

@ -34,6 +34,7 @@ AFRAME.registerComponent('selfcontainer', {
installProxyServer: function(){
if( !window.store ) window.store = {}
// selfcontain every webrequest to store (and serve if stored)
let curry = function(me){
return function(request, response, cb){