Better fix for MIME

merge-requests/5/head
Terence Eden 2025-01-23 07:43:37 +00:00
rodzic a2f29eb70e
commit 16ecc9b363
1 zmienionych plików z 2 dodań i 6 usunięć

Wyświetl plik

@ -10,9 +10,5 @@ Options -Indexes
RewriteRule ^(.*)$ index.php?path=$1 [QSA,L]
</IfModule>
<IfModule mod_rewrite.c>
# Make all /post/*.json served with correct MIME
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/posts/
RewriteRule ^ - [T=application/activity+json]
</IfModule>
# Serve JSON documents with the correct MIME types
AddType application/activity+json .json