Skip to content

Commit

Permalink
Add LYCHEE_UPLOADS_URL to secure-headers.php (#534)
Browse files Browse the repository at this point in the history
Add support for PHP ENV ```LYCHEE_UPLOADS_URL``` with lycheeorg.github.io as default

fixes #533
  • Loading branch information
hxrsmurf authored May 4, 2020
1 parent 6078acb commit 7a71577
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/secure-headers.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@
'https://a.osm.rrze.fau.de/osmhd/',
'https://b.osm.rrze.fau.de/osmhd/',
'https://c.osm.rrze.fau.de/osmhd/',
env('LYCHEE_UPLOADS_URL', 'https://lycheeorg.github.io/'),
'data:',
'blob:',
],
Expand Down

0 comments on commit 7a71577

Please sign in to comment.