From 060500beae6305e406635c8837f157abdffdc159 Mon Sep 17 00:00:00 2001 From: r2unit <71521300+R2Unit@users.noreply.github.com> Date: Fri, 16 May 2025 14:36:36 +0200 Subject: [PATCH 1/2] Fixed a version typo. --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index 1712b30..61ef899 100644 --- a/compose.yml +++ b/compose.yml @@ -1,6 +1,6 @@ services: lanparty-fileserver: - image: ghcr.io/r2unit/lanparty-fileserver:1 + image: ghcr.io/r2unit/lanparty-fileserver:1.0.0 container_name: lan-fileserver restart: unless-stopped ports: From 5632d831a6b8e2a32c207d7941b6d676851b300c Mon Sep 17 00:00:00 2001 From: r2unit <71521300+R2Unit@users.noreply.github.com> Date: Fri, 16 May 2025 14:37:03 +0200 Subject: [PATCH 2/2] Changes port from 8080 to 80. --- cmd/lanparty-fileserver/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/lanparty-fileserver/main.go b/cmd/lanparty-fileserver/main.go index e6a5cb0..73397f9 100644 --- a/cmd/lanparty-fileserver/main.go +++ b/cmd/lanparty-fileserver/main.go @@ -22,9 +22,9 @@ const ( preloadedDir = "./preloaded-games" uploadsDir = "./uploads" downloadsLogDir = "./downloads-log" - port = "8080" - defaultMaxUploadSizeMB = 100 // Default max upload size in Megabytes - envMaxUploadSizeMB = "MAX_UPLOAD_SIZE_MB" // Environment variable name + port = "80" + defaultMaxUploadSizeMB = 100 + envMaxUploadSizeMB = "MAX_UPLOAD_SIZE_MB" ) // effectiveMaxUploadSizeBytes will store the actual max upload size to be used, in bytes.