diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-08-14 11:52:56 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-08-14 11:52:56 +0100 |
commit | c75add6ec87cb548b5cc74b7e6e0c56d78d5eae9 (patch) | |
tree | a3d49973303039996d9aaee7a05bad44df83a80c /synapse/rest/base.py | |
parent | If the web client is enabled, automatically redirect root '/' to the web clie... (diff) | |
download | synapse-c75add6ec87cb548b5cc74b7e6e0c56d78d5eae9.tar.xz |
Added a urls module for keeping client and federation prefixes.
Diffstat (limited to 'synapse/rest/base.py')
-rw-r--r-- | synapse/rest/base.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/rest/base.py b/synapse/rest/base.py index 124b3a2e0c..6a88cbe866 100644 --- a/synapse/rest/base.py +++ b/synapse/rest/base.py @@ -14,10 +14,9 @@ # limitations under the License. """ This module contains base REST classes for constructing REST servlets. """ +from synapse.api.urls import CLIENT_PREFIX import re -CLIENT_PREFIX = "/matrix/client/api/v1" - def client_path_pattern(path_regex): """Creates a regex compiled client path with the correct client path |