Correct MIME for posts

Fixes #15
merge-requests/5/head
Terence Eden 2025-01-23 07:41:27 +00:00
rodzic 47ea60a4c8
commit a2f29eb70e
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -10,3 +10,9 @@ 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>