fix: delta versions and dockerfile

This commit is contained in:
DecDuck
2026-01-31 15:44:17 +11:00
parent 37f3527160
commit 3d58cdcc36
2 changed files with 3 additions and 2 deletions

View File

@@ -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"]

View File

@@ -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: {