mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
matrixsynapse: Show port forwarding info
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
b2d5646291
commit
a3adf134b9
@ -61,6 +61,8 @@ service = None
|
|||||||
|
|
||||||
manual_page = 'MatrixSynapse'
|
manual_page = 'MatrixSynapse'
|
||||||
|
|
||||||
|
port_forwarding_info = [('TCP', 8448)]
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
SERVER_NAME_PATH = "/etc/matrix-synapse/conf.d/server_name.yaml"
|
SERVER_NAME_PATH = "/etc/matrix-synapse/conf.d/server_name.yaml"
|
||||||
|
|||||||
@ -66,6 +66,7 @@ class MatrixSynapseServiceView(ServiceView):
|
|||||||
description = matrixsynapse.description
|
description = matrixsynapse.description
|
||||||
diagnostics_module_name = 'matrixsynapse'
|
diagnostics_module_name = 'matrixsynapse'
|
||||||
form_class = MatrixSynapseForm
|
form_class = MatrixSynapseForm
|
||||||
|
port_forwarding_info = matrixsynapse.port_forwarding_info
|
||||||
|
|
||||||
def dispatch(self, request, *args, **kwargs):
|
def dispatch(self, request, *args, **kwargs):
|
||||||
"""Redirect to setup page if setup is not done yet."""
|
"""Redirect to setup page if setup is not done yet."""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user