aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-07-21 10:02:41 +0000
committerMario <mario@mariovavti.com>2023-07-21 10:02:41 +0000
commit87b91e502361d3efeb78d243baca93b0764cfc15 (patch)
tree932bf3b540ec2af637234beed51c0366d3c1e00a /boot.php
parent4b1384be832b0a745eeb8ac94cba6b00edc4eb64 (diff)
parent14c97799c6dbca22f335c9d289a1b31e68465e3e (diff)
downloadvolse-hubzilla-87b91e502361d3efeb78d243baca93b0764cfc15.tar.gz
volse-hubzilla-87b91e502361d3efeb78d243baca93b0764cfc15.tar.bz2
volse-hubzilla-87b91e502361d3efeb78d243baca93b0764cfc15.zip
Merge branch 'DM42-20230718-fixjsonldrawfile' into 'dev'
add .jsonld to the list of allowed file suffixes for direct download. Fixes... See merge request hubzilla/core!2053
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 82da0faaa..95726d9f6 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)) {