File tree 2 files changed +0
-4
lines changed
2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,6 @@ DISCORD_WEBHOOK_TIMEOUT = 5
22
22
# The amount of bytes python-magic will read from uploaded file to determine its extension
23
23
MAGIC_BUFFER_BYTES = 2048
24
24
25
- # The amount of bytes for secrets.token_urlsafe, used in filenames
26
- FILE_TOKEN_BYTES = 12
27
-
28
25
# The amount of bytes for secrets.token_urlsafe, used in shortened URLs
29
26
URL_TOKEN_BYTES = 6
30
27
Original file line number Diff line number Diff line change @@ -137,7 +137,6 @@ You can set these environment variables in [.env_template](https://github.com/vr
137
137
| ` DISCORD_WEBHOOKS` | ` str` | ` None` | Discord webhook URLs separated by semicolon. |
138
138
| ` DISCORD_WEBHOOK_TIMEOUT` | ` int` | ` 5` | Timeout for Discord webhook requests in seconds. |
139
139
| ` MAGIC_BUFFER_BYTES` | ` int` | ` 2048` | The amount of bytes ` python-magic` will read from uploaded file to determine its extension. |
140
- | ` FILE_TOKEN_BYTES` | ` int` | ` 12` | The amount of bytes ` secrets.token_urlsafe` will use to generate filenames. |
141
140
| ` URL_TOKEN_BYTES` | ` int` | ` 6` | The amount of bytes ` secrets.token_urlsafe` will use to generate shortened URLs. |
142
141
| ` USE_ORIGINAL_FILENAME` | ` bool` | ` True` | If saved files should include original filename.
143
142
You can’t perform that action at this time.
0 commit comments