mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Added the option env option to configure that all new attachment files should be downloaded by default
This commit is contained in:
parent
0f0adfcf36
commit
18db20e511
6 changed files with 44 additions and 4 deletions
2
.env
2
.env
|
@ -29,6 +29,8 @@ INSTANCE_NAME="Part-DB"
|
|||
# Allow users to download attachments to the server by providing an URL
|
||||
# This could be a potential security issue, as the user can retrieve any file the server has access to (via internet)
|
||||
ALLOW_ATTACHMENT_DOWNLOADS=0
|
||||
# Set this to 1, if the "download external files" checkbox should be checked by default for new attachments
|
||||
ATTACHMENT_DOWNLOAD_BY_DEFAULT=0
|
||||
# Use gravatars for user avatars, when user has no own avatar defined
|
||||
USE_GRAVATAR=0
|
||||
# The maximum allowed size for attachment files in bytes (you can use M for megabytes and G for gigabytes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue