feature: Implement WebSocket backend for passyfire.

Co-authored-by: dess <devessa@users.noreply.github.com>
This commit is contained in:
greysoh 2024-05-05 16:43:57 -04:00
parent 59f66cbe5b
commit 535b8cde9a
No known key found for this signature in database
GPG key ID: FE0F173B8FC01571
5 changed files with 142 additions and 5 deletions

View file

@ -3,7 +3,7 @@ import type { PassyFireBackendProvider } from "./index.js";
export function route(instance: PassyFireBackendProvider) {
const { fastify } = instance;
const proxiedPort: number = instance.options.publicPort ?? 443;
const unsupportedSpoofedRoutes: string[] = [