summary refs log tree commit diff
path: root/synapse/rest/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/base.py')
-rw-r--r--synapse/rest/base.py3
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