Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cmd/lanparty-fileserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Loading