diff --git a/com/isoterminal/feat/httpfs.js b/com/isoterminal/feat/httpfs.js index 5455c48..3557937 100644 --- a/com/isoterminal/feat/httpfs.js +++ b/com/isoterminal/feat/httpfs.js @@ -21,7 +21,9 @@ if( typeof emulator != 'undefined' ){ response.status = 404 callback(response) }) + return } + callback() }) }) diff --git a/com/selfcontainer.js b/com/selfcontainer.js index 5584c7a..322cc4f 100644 --- a/com/selfcontainer.js +++ b/com/selfcontainer.js @@ -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){