Added cleanup logic.
This commit is contained in:
12
.env
12
.env
@@ -1,3 +1,13 @@
|
||||
# FITRA environment variables
|
||||
|
||||
# Port to run the server on
|
||||
PORT=8080
|
||||
|
||||
# Directory for uploaded files
|
||||
UPLOAD_DIR=./uploads
|
||||
BASE_URL=http://localhost:8080
|
||||
|
||||
# Base URL for file downloads
|
||||
BASE_URL=http://localhost:8080
|
||||
|
||||
# How long to keep uploaded files before deletion (examples: 1d, 12h, 30m)
|
||||
DELETE_FILES_AFTER=1d
|
||||
Reference in New Issue
Block a user