diff --git a/docker-compose.production.yml b/docker-compose.production.yml index 36b2a88..58e878b 100644 --- a/docker-compose.production.yml +++ b/docker-compose.production.yml @@ -14,11 +14,11 @@ services: - 3478:3478/udp - 5349:5349 - 5349:5349/udp - - 49152-65535:49152-65535/udp + - 60000-60128:60000-60128/udp environment: - DETECT_EXTERNAL_IP=yes - DETECT_RELAY_IP=yes - command: -n --log-file=stdout --redis-userdb="ip=redis connect_timeout=30" + command: -n --log-file=stdout --redis-userdb="ip=redis connect_timeout=30" --min-port=60000 --max-port=60128 networks: - filepizza filepizza: diff --git a/package.json b/package.json index dbffb3c..0d115b3 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "react-qr-code": "^2.0.15", "streamsaver": "^2.0.6", "tailwindcss": "^3.4.10", - "web-streams-polyfill": "^3.3.3", + "web-streams-polyfill": "^4.0.0", "webrtcsupport": "^2.2.0", "zod": "^3.23.8" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1364a73..2ab7890 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -60,8 +60,8 @@ dependencies: specifier: ^3.4.10 version: 3.4.17 web-streams-polyfill: - specifier: ^3.3.3 - version: 3.3.3 + specifier: ^4.0.0 + version: 4.0.0 webrtcsupport: specifier: ^2.2.0 version: 2.2.0 @@ -4561,8 +4561,13 @@ packages: engines: {node: '>= 0.8'} dev: false - /web-streams-polyfill@3.3.3: - resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==} + /web-streams-polyfill@4.0.0: + resolution: {integrity: sha512-0zJXHRAYEjM2tUfZ2DiSOHAa2aw1tisnnhU3ufD57R8iefL+DcdJyRBRyJpG+NUimDgbTI/lH+gAE1PAvV3Cgw==} + engines: {node: '>= 8'} + dev: false + + /web-streams-polyfill@4.0.0: + resolution: {integrity: sha512-0zJXHRAYEjM2tUfZ2DiSOHAa2aw1tisnnhU3ufD57R8iefL+DcdJyRBRyJpG+NUimDgbTI/lH+gAE1PAvV3Cgw==} engines: {node: '>= 8'} dev: false diff --git a/src/utils/download.ts b/src/utils/download.ts index 15087a0..beba2cc 100644 --- a/src/utils/download.ts +++ b/src/utils/download.ts @@ -1,7 +1,7 @@ import { createZipStream } from '../zip-stream' // eslint-disable-next-line @typescript-eslint/no-require-imports -if (typeof window !== 'undefined') require('web-streams-polyfill/ponyfill') +if (typeof window !== 'undefined') require('web-streams-polyfill/polyfill') const streamSaver = // eslint-disable-next-line @typescript-eslint/no-require-imports