Better fix for MIME
rodzic
a2f29eb70e
commit
16ecc9b363
|
@ -10,9 +10,5 @@ Options -Indexes
|
||||||
RewriteRule ^(.*)$ index.php?path=$1 [QSA,L]
|
RewriteRule ^(.*)$ index.php?path=$1 [QSA,L]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
<IfModule mod_rewrite.c>
|
# Serve JSON documents with the correct MIME types
|
||||||
# Make all /post/*.json served with correct MIME
|
AddType application/activity+json .json
|
||||||
RewriteEngine On
|
|
||||||
RewriteCond %{REQUEST_URI} ^/posts/
|
|
||||||
RewriteRule ^ - [T=application/activity+json]
|
|
||||||
</IfModule>
|
|
||||||
|
|
Ładowanie…
Reference in New Issue