diff --git a/lib/server.ts b/lib/server.ts index 2dba26db..355e14d5 100644 --- a/lib/server.ts +++ b/lib/server.ts @@ -16,6 +16,7 @@ import type { CookieSerializeOptions } from "cookie"; import type { CorsOptions, CorsOptionsDelegate } from "cors"; import type { Duplex } from "stream"; import { WebTransport } from "./transports/webtransport"; +import { TextDecoder } from "util"; const debug = debugModule("engine");