mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 04:24:56 -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
|
@ -23,6 +23,7 @@ over a different (albeit still reliable) protocol.
|
|||
|
||||
from twisted.internet import defer
|
||||
|
||||
from synapse.api.urls import FEDERATION_PREFIX as PREFIX
|
||||
from synapse.util.logutils import log_function
|
||||
|
||||
import logging
|
||||
|
@ -33,9 +34,6 @@ import re
|
|||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
PREFIX = "/matrix/federation/v1"
|
||||
|
||||
|
||||
class TransportLayer(object):
|
||||
"""This is a basic implementation of the transport layer that translates
|
||||
transactions and other requests to/from HTTP.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue