mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 08:56:04 -04:00
Added a urls module for keeping client and federation prefixes.
This commit is contained in:
parent
9fd445eb92
commit
c75add6ec8
5 changed files with 23 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue