mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-01-31 15:37:09 +01:00
fix: delta versions and dockerfile
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user