mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Allow to configure if user is allowed to download URLs via env vars.
This commit is contained in:
parent
7de2137370
commit
8a12b3abfe
2 changed files with 10 additions and 2 deletions
4
.env
4
.env
|
@ -31,6 +31,10 @@ DATABASE_URL=mysql://root:@127.0.0.1:3306/part-db?serverVersion=5.7
|
|||
|
||||
### Custom vars
|
||||
|
||||
# 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
|
||||
|
||||
FIXER_API_KEY=CHANGEME
|
||||
|
||||
# Change this to true, if no url rewriting (like mod_rewrite for Apache) is available
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue