Allow to configure if user is allowed to download URLs via env vars.

This commit is contained in:
Jan Böhmer 2020-06-01 21:55:56 +02:00
parent 7de2137370
commit 8a12b3abfe
2 changed files with 10 additions and 2 deletions

4
.env
View file

@ -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