From 14c97799c6dbca22f335c9d289a1b31e68465e3e Mon Sep 17 00:00:00 2001 From: "DM42.Net Hubzilla Development" Date: Tue, 18 Jul 2023 14:34:10 -0400 Subject: 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 --- boot.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'boot.php') 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)) { -- cgit v1.2.3