@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user