fix ts-node? maybe

This commit is contained in:
CoolElectronics 2023-08-12 11:18:43 -04:00
parent 9571680fcc
commit d1bef00d93
No known key found for this signature in database
GPG key ID: F63593D168636C50
5 changed files with 347 additions and 11 deletions

View file

@ -12,7 +12,8 @@ import {
request as httpRequest,
} from "http";
import { Agent as HTTPSAgent, request as httpsRequest } from "https";
import { isValid, parse } from "ipaddr.js";
import fuck from "ipaddr.js";
const { isValid, parse } = fuck;
import { Readable } from "stream";
import * as wrtc from "wrtc";
import {
@ -21,7 +22,7 @@ import {
HTTPResponsePayload,
ProtoBareHeaders,
S2CRequestTypes,
} from "../protocol";
} from "../protocol/index.js";
const configuration = {
iceServers: [