add new-window intercept behavior

This commit is contained in:
Paul Frazee
2015-06-24 21:42:31 -05:00
parent 8a0c9db0fd
commit 8c48c4000e
2 changed files with 17 additions and 1 deletions

View File

@@ -7,7 +7,6 @@ module.exports = function (config) {
return function (request) {
var id = request.url.split(':')[1]
if (request.method == 'GET' && id) {
console.log('loading', id, toPath(dir, id))
return new protocol.RequestFileJob(toPath(dir, id))
}
}