aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDM42.Net Hubzilla Development <hzdev@dm42.net>2023-07-18 14:34:10 -0400
committerDM42.Net Hubzilla Development <hzdev@dm42.net>2023-07-18 14:34:10 -0400
commit14c97799c6dbca22f335c9d289a1b31e68465e3e (patch)
tree4c66f4dd1119ca5afd2937a920f211738f8e3826
parent330add963dbe2195e0613f35b8f63c15eee585a0 (diff)
downloadvolse-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
-rw-r--r--boot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 0013ef7c7..2b438c048 100644
--- a/boot.php
+++ b/boot.php
@@ -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)) {