From a2f29eb70ee67c03d300f9721048a3083ef97f5f Mon Sep 17 00:00:00 2001 From: Terence Eden Date: Thu, 23 Jan 2025 07:41:27 +0000 Subject: [PATCH] Correct MIME for posts Fixes #15 --- .htaccess | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.htaccess b/.htaccess index 1bd3d7a..6f34c26 100644 --- a/.htaccess +++ b/.htaccess @@ -10,3 +10,9 @@ 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] +