diff options
author | Erik Johnston <erikj@jki.re> | 2019-01-21 11:44:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-21 11:44:05 +0000 |
commit | 5f5476558771ba8ce969d8d694a34986e4291051 (patch) | |
tree | 8bb3a4bfb521572f69071a4e925e819fd3cd4eb5 /synapse/api | |
parent | Migrate encryption state on room upgrade (#4411) (diff) | |
parent | Newsfile (diff) | |
download | synapse-5f5476558771ba8ce969d8d694a34986e4291051.tar.xz |
Merge pull request #4390 from matrix-org/erikj/versioned_fed_apis
Add groundwork for new versions of federation APIs
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/urls.py | 3 |
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" |