Skip to content

Commit e3a84fe

Browse files
committed
Remove FILE_TOKEN_BYTES from README and .env_template.
1 parent f6dba20 commit e3a84fe

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

.env_template

-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ DISCORD_WEBHOOK_TIMEOUT = 5
2222
# The amount of bytes python-magic will read from uploaded file to determine its extension
2323
MAGIC_BUFFER_BYTES = 2048
2424

25-
# The amount of bytes for secrets.token_urlsafe, used in filenames
26-
FILE_TOKEN_BYTES = 12
27-
2825
# The amount of bytes for secrets.token_urlsafe, used in shortened URLs
2926
URL_TOKEN_BYTES = 6
3027

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ You can set these environment variables in [.env_template](https://github.com/vr
137137
| `DISCORD_WEBHOOKS` | `str` | `None` | Discord webhook URLs separated by semicolon. |
138138
| `DISCORD_WEBHOOK_TIMEOUT` | `int` | `5` | Timeout for Discord webhook requests in seconds. |
139139
| `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. |
141140
| `URL_TOKEN_BYTES` | `int` | `6` | The amount of bytes `secrets.token_urlsafe` will use to generate shortened URLs. |
142141
| `USE_ORIGINAL_FILENAME` | `bool` | `True` | If saved files should include original filename.
143142

0 commit comments

Comments
 (0)