diff options
author | DM42.Net Hubzilla Development <hzdev@dm42.net> | 2023-07-18 14:34:10 -0400 |
---|---|---|
committer | DM42.Net Hubzilla Development <hzdev@dm42.net> | 2023-07-18 14:34:10 -0400 |
commit | 14c97799c6dbca22f335c9d289a1b31e68465e3e (patch) | |
tree | 4c66f4dd1119ca5afd2937a920f211738f8e3826 /boot.php | |
parent | 330add963dbe2195e0613f35b8f63c15eee585a0 (diff) | |
download | volse-hubzilla-14c97799c6dbca22f335c9d289a1b31e68465e3e.tar.gz volse-hubzilla-14c97799c6dbca22f335c9d289a1b31e68465e3e.tar.bz2 volse-hubzilla-14c97799c6dbca22f335c9d289a1b31e68465e3e.zip |
add .jsonld to the list of allowed file suffixes for direct download. Fixes 404 error when trying to get /library/w3org/security-v1.jsonld and /library/w3org/activitystreams.jsonld
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -942,7 +942,8 @@ class App { 'ttf' => 'font/ttf', 'woff' => 'font/woff', 'woff2' => 'font/woff2', - 'svg' => 'image/svg+xml' + 'svg' => 'image/svg+xml', + 'jsonld' => 'application/ld+json' ]; if (array_key_exists($filext, $serve_rawfiles) && file_exists(self::$cmd)) { |