Compare commits

..

No commits in common. "b24a30314f8fe953f9223493480bf6b9a0598e4d" and "fac2870604510bfaeba68859a66de557ac530adc" have entirely different histories.

2 changed files with 3 additions and 11 deletions

View File

@ -35,6 +35,7 @@ jobs:
docker run -d \
--name chad-server \
--network traefik \
-p 20000-40000:20000-40000/udp \
--label "traefik.enable=true" \
--label "traefik.http.routers.chad-server.rule=Host(\`api.koptilnya.xyz\`) && PathPrefix(\`/chad\`)" \
--label "traefik.http.routers.chad-server.entrypoints=websecure" \

View File

@ -55,18 +55,9 @@ io.on("connection", (socket) => {
socket.on("createTransport", async (cb) => {
try {
const transport = await router.createWebRtcTransport({
listenInfos: [
{
protocol: 'udp',
ip: "0.0.0.0",
announcedIp: "91.144.171.182",
portRange: {
min: 40000,
max: 40100
}
}
],
listenIps: [{ ip: "0.0.0.0", announcedIp: "91.144.171.182" }],
enableUdp: true,
enableTcp: true,
preferUdp: true,
});