Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Commit c6ece6b

Browse files
authored
Document requirement for additional CORS headers (#20)
1 parent 18c81f9 commit c6ece6b

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

synapse/README.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,14 @@ Usage
2525
experimental_features:
2626
msc3886_endpoint: /_synapse/client/org.matrix.msc3886/rendezvous
2727

28-
4. Run Synapse with the asyncio reactor enabled::
28+
4. Enable additional CORS headers for the API endpoints within the listeners section of your homeserver.yaml::
29+
30+
listeners:
31+
- type: http
32+
experimental_cors_msc3886: True
33+
# ... rest of the HTTP listener config
34+
35+
5. Run Synapse with the asyncio reactor enabled::
2936

3037
SYNAPSE_ASYNC_IO_REACTOR=1 python -m synapse.app.homeserver
3138

@@ -51,6 +58,11 @@ An example configuration setting these and a custom prefix would like::
5158

5259
experimental_features:
5360
msc3886_endpoint: /rendezvous # this should match above
61+
62+
listeners:
63+
- type: http
64+
experimental_cors_msc3886: True
65+
# ... rest of the HTTP listener config
5466

5567
^^^^^^^^^^^^
5668
Memory usage

0 commit comments

Comments
 (0)