-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from greirson/even-dumber-drop
feat: Add auto upload configuration and update environment settings
- Loading branch information
Showing
5 changed files
with
25 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
# Server Configuration | ||
PORT=3000 # The port the server will listen on | ||
DUMBDROP_TITLE=DumbDrop # Site title displayed in header (default: DumbDrop) | ||
|
||
# Upload Limits | ||
MAX_FILE_SIZE=1024 # Maximum file size in MB (default: 1024 MB / 1 GB) | ||
# Upload Settings | ||
MAX_FILE_SIZE=1024 # Maximum file size in MB | ||
AUTO_UPLOAD=false # Enable automatic upload on file selection | ||
|
||
# Security | ||
DUMBDROP_PIN= # Optional PIN protection (4-10 digits, leave empty to disable) | ||
DUMBDROP_PIN= # Optional PIN protection (4-10 digits) | ||
DUMBDROP_TITLE=DumbDrop # Site title displayed in header | ||
|
||
# Notifications | ||
APPRISE_URL= # Apprise URL for notifications (leave empty to disable) | ||
APPRISE_MESSAGE= # Custom message for notifications (default: "New file uploaded: {filename} ({size}), Storage used: {storage}") | ||
APPRISE_SIZE_UNIT= # Size unit for notifications (B, KB, MB, GB, TB). Leave empty for auto | ||
# Notifications (Optional) | ||
APPRISE_URL= # Apprise URL for notifications (e.g., tgram://bottoken/ChatID) | ||
APPRISE_MESSAGE=New file uploaded - {filename} ({size}), Storage used {storage} | ||
APPRISE_SIZE_UNIT=auto # Size unit for notifications (auto, B, KB, MB, GB, TB) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters