remove deprecated request package

This commit is contained in:
Stewart Allen 2020-03-03 08:22:04 -05:00
commit 15e63d49f5
5 changed files with 10 additions and 10 deletions

View file

@ -8,8 +8,9 @@ let loc = self.location,
host = loc.hostname,
port = loc.port,
proto = loc.protocol,
pre = host.indexOf(".space") > 0 || host === "localhost" ?
proto + "//" + host + ":" + port : "",
pre = '',
// pre = host.indexOf(".space") > 0 || host === "localhost" ?
// proto + "//" + host + ":" + port : "",
time = function() { return new Date().getTime() },
KIRI = self.kiri,
BASE = self.base,
@ -22,7 +23,8 @@ let loc = self.location,
// console.log({body:body});
// let blob = new Blob([body], {type : 'application/json'});
// worker = new Worker(URL.createObjectURL(blob));
// }).request(pre + "/code/worker.js/");
// console.log({worker})
// }).request(pre + "/code/worker.js/123");
function send(fn, data, onreply, async, zerocopy) {
let seq = seqid++;