Compare commits
No commits in common. "b24a30314f8fe953f9223493480bf6b9a0598e4d" and "fac2870604510bfaeba68859a66de557ac530adc" have entirely different histories.
b24a30314f
...
fac2870604
@ -35,6 +35,7 @@ jobs:
|
|||||||
docker run -d \
|
docker run -d \
|
||||||
--name chad-server \
|
--name chad-server \
|
||||||
--network traefik \
|
--network traefik \
|
||||||
|
-p 20000-40000:20000-40000/udp \
|
||||||
--label "traefik.enable=true" \
|
--label "traefik.enable=true" \
|
||||||
--label "traefik.http.routers.chad-server.rule=Host(\`api.koptilnya.xyz\`) && PathPrefix(\`/chad\`)" \
|
--label "traefik.http.routers.chad-server.rule=Host(\`api.koptilnya.xyz\`) && PathPrefix(\`/chad\`)" \
|
||||||
--label "traefik.http.routers.chad-server.entrypoints=websecure" \
|
--label "traefik.http.routers.chad-server.entrypoints=websecure" \
|
||||||
|
|||||||
@ -55,18 +55,9 @@ io.on("connection", (socket) => {
|
|||||||
socket.on("createTransport", async (cb) => {
|
socket.on("createTransport", async (cb) => {
|
||||||
try {
|
try {
|
||||||
const transport = await router.createWebRtcTransport({
|
const transport = await router.createWebRtcTransport({
|
||||||
listenInfos: [
|
listenIps: [{ ip: "0.0.0.0", announcedIp: "91.144.171.182" }],
|
||||||
{
|
|
||||||
protocol: 'udp',
|
|
||||||
ip: "0.0.0.0",
|
|
||||||
announcedIp: "91.144.171.182",
|
|
||||||
portRange: {
|
|
||||||
min: 40000,
|
|
||||||
max: 40100
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
enableUdp: true,
|
enableUdp: true,
|
||||||
|
enableTcp: true,
|
||||||
preferUdp: true,
|
preferUdp: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user