Don't redirect etherpad manifest.json

After changes to etherpad in version 2.2.2 the way code is loaded from
the server has been changed. One of these changes appears to be the
loading of a manifest.json which currently gets redirected to
/p/manifest.json and is served like a pad... Serve this directly without
a redirect to /p/ so that we can return the correct content.

Change-Id: Ibd537ab371cf707e5121e48b0ab51e52046fed29
This commit is contained in:
Clark Boylan 2024-09-11 09:40:21 -07:00
parent 39d8d6ffb5
commit d03327853e

View File

@ -65,6 +65,7 @@
RewriteRule ^/api/ - [F,L]
RewriteCond %{REQUEST_URI} !^/p/
RewriteCond %{REQUEST_URI} !^/manifest.json
RewriteCond %{REQUEST_URI} !^/locales/
RewriteCond %{REQUEST_URI} !^/locales.json
RewriteCond %{REQUEST_URI} !^/admin