summary refs log tree commit diff
path: root/synapse/api/urls.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-01-15 11:14:34 +0000
committerErik Johnston <erik@matrix.org>2019-01-15 11:14:34 +0000
commitbb63e7ca4f989d980de9925adcf14f0393ac0406 (patch)
tree63c6e741f1285874db204b62d7ba50e8f773f52c /synapse/api/urls.py
parentMerge branch 'release-v0.34.1.1' into develop (diff)
downloadsynapse-bb63e7ca4f989d980de9925adcf14f0393ac0406.tar.xz
Add groundwork for new versions of federation APIs
Diffstat (limited to 'synapse/api/urls.py')
-rw-r--r--synapse/api/urls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/api/urls.py b/synapse/api/urls.py
index f78695b657..ba019001ff 100644
--- a/synapse/api/urls.py
+++ b/synapse/api/urls.py
@@ -24,7 +24,8 @@ from synapse.config import ConfigError
 
 CLIENT_PREFIX = "/_matrix/client/api/v1"
 CLIENT_V2_ALPHA_PREFIX = "/_matrix/client/v2_alpha"
-FEDERATION_PREFIX = "/_matrix/federation/v1"
+FEDERATION_PREFIX = "/_matrix/federation"
+FEDERATION_V1_PREFIX = FEDERATION_PREFIX + "/v1"
 STATIC_PREFIX = "/_matrix/static"
 WEB_CLIENT_PREFIX = "/_matrix/client"
 CONTENT_REPO_PREFIX = "/_matrix/content"