#2, #3 update
Some checks failed
Deploy / server (push) Successful in 4m5s
Deploy / client (push) Failing after 36s

This commit is contained in:
Никита Круглицкий
2025-10-01 21:31:16 +06:00
parent 6110a17533
commit c0898d0df2
5 changed files with 66 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ RUN corepack enable
COPY package.json yarn.lock ./
RUN apt update && apt install --yes python3 python3-pip build-essential
RUN yarn set version latest
RUN yarn install
RUN yarn install --frozen-lockfile
COPY . .
ENV PORT=80

View File

@@ -55,7 +55,7 @@ io.on("connection", (socket) => {
socket.on("createTransport", async (cb) => {
try {
const transport = await router.createWebRtcTransport({
listenIps: [{ ip: "0.0.0.0", announcedIp: "127.0.0.1" }],
listenIps: [{ ip: "0.0.0.0", announcedIp: "91.144.171.182" }],
enableUdp: true,
enableTcp: true,
preferUdp: true,