finetuned httpfs.js
/ mirror_to_github (push) Successful in 18s Details
/ test (push) Successful in 4s Details

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 response.status = 404
callback(response) callback(response)
}) })
return
} }
callback()
}) })
}) })

View File

@ -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){