diff --git a/Dockerfile b/Dockerfile index 92506f1..7b84a11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -68,6 +68,7 @@ COPY --from=torrential-build /build/target/release/torrential /usr/bin/ ENV LIBRARY="/library" ENV DATA="/data" ENV NGINX_CONFIG="/nginx.conf" -ENV NUXT_PORT=4000 +# NGINX's port +ENV PORT=4000 CMD ["sh", "/app/startup/launch.sh"] diff --git a/server/internal/library/manifest/index.ts b/server/internal/library/manifest/index.ts index ed9c1ed..3c4f50b 100644 --- a/server/internal/library/manifest/index.ts +++ b/server/internal/library/manifest/index.ts @@ -35,7 +35,7 @@ export async function createDownloadManifestDetails( const collectedVersions = []; let versionIndex = mainVersion.versionIndex; - while (true) { + while (mainVersion.delta) { const nextVersion = await prisma.gameVersion.findFirst({ where: { gameId: mainVersion.gameId, versionIndex: { lt: versionIndex } }, orderBy: {