Update 'etc/nginx/include.d/mjolnir-report.conf'

This commit is contained in:
creme 2022-05-04 08:35:31 +00:00
parent 6a5cb6f996
commit 7e7439c22b

View File

@ -1,6 +1,6 @@
# Abuse reports should be sent to Mjölnir.
location ~* ^/_matrix/client/r0/rooms/([^/]*)/report/(.*)$ {
location ~ ^/_matrix/client/r0/rooms/([^/]*)/report/(.*)$ {
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Allow-Credentials' 'true' always;
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;