Fix that bullshit too

This commit is contained in:
MotorTruck1221 2024-04-18 14:57:32 -06:00
parent 426c86a451
commit 4a47b5c987
No known key found for this signature in database
GPG key ID: 08F417E2B8B61EA4

View file

@ -67,7 +67,7 @@ const serverFactory = (handler, opts) => {
} else if (shouldRouteRh(req)) { } else if (shouldRouteRh(req)) {
routeRhUpgrade(req, socket, head); routeRhUpgrade(req, socket, head);
} else if (req.url.endsWith("/wisp/")) { } else if (req.url.endsWith("/wisp/")) {
wisp.routeRequest(req, socket as Socket, head); wisp.routeRequest(req, socket, head);
} }
}); });
}; };