@interopio/gateway-server 0.5.1-beta → 0.5.2-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +6 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/changelog.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -2534,7 +2534,7 @@ function createListener(storage, middleware, routes3, onSocketError) {
|
|
|
2534
2534
|
}
|
|
2535
2535
|
});
|
|
2536
2536
|
if (route) {
|
|
2537
|
-
if (request.method === "GET" && request.
|
|
2537
|
+
if (request.method === "GET" && request._req["upgrade"] && request.headers.one("upgrade")?.toLowerCase() === "websocket") {
|
|
2538
2538
|
const socket = request.socket;
|
|
2539
2539
|
const host = request.host;
|
|
2540
2540
|
const info = socketKey(request._req.socket);
|