From 16ecc9b363d85724b537d2e4cc3c635982b8e7ac Mon Sep 17 00:00:00 2001 From: Terence Eden Date: Thu, 23 Jan 2025 07:43:37 +0000 Subject: [PATCH] Better fix for MIME --- .htaccess | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.htaccess b/.htaccess index 6f34c26..7e9b49e 100644 --- a/.htaccess +++ b/.htaccess @@ -10,9 +10,5 @@ Options -Indexes RewriteRule ^(.*)$ index.php?path=$1 [QSA,L] - - # Make all /post/*.json served with correct MIME - RewriteEngine On - RewriteCond %{REQUEST_URI} ^/posts/ - RewriteRule ^ - [T=application/activity+json] - +# Serve JSON documents with the correct MIME types +AddType application/activity+json .json