Comparing version 0.0.10 to 0.0.11
{ | ||
"name": "webdetta", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"author": "Fedot Kriutchenko <fodyadev@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "", |
@@ -88,3 +88,3 @@ import { safe } from '../common/func.js'; | ||
const opts = await resolveProxyOptions(resolve, req, socket, head) ?? {}; | ||
await safe(proxy.ws)(req, socket, head, opts); | ||
await safe(proxy.ws).call(proxy, req, socket, head, opts); | ||
}); | ||
@@ -98,3 +98,3 @@ return instance; | ||
const opts = await resolveProxyOptions(resolve, req, res) ?? {}; | ||
await safe(proxy.web)(req, res, opts, next); | ||
await safe(proxy.web).call(proxy, req, res, opts, next); | ||
}); | ||
@@ -101,0 +101,0 @@ return instance; |
24210