mirror of
https://git.envs.net/envs/matrix-conf.git
synced 2025-01-25 15:36:12 -05:00
Update 'etc/nginx/include.d/mjolnir-report.conf'
This commit is contained in:
parent
6a5cb6f996
commit
7e7439c22b
@ -1,6 +1,6 @@
|
|||||||
# Abuse reports should be sent to Mjölnir.
|
# 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-Origin' '*' always;
|
||||||
add_header 'Access-Control-Allow-Credentials' 'true' always;
|
add_header 'Access-Control-Allow-Credentials' 'true' always;
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user