mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +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'
|
||||
|
||||
port_forwarding_info = [('TCP', 8448)]
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
SERVER_NAME_PATH = "/etc/matrix-synapse/conf.d/server_name.yaml"
|
||||
|
||||
@ -66,6 +66,7 @@ class MatrixSynapseServiceView(ServiceView):
|
||||
description = matrixsynapse.description
|
||||
diagnostics_module_name = 'matrixsynapse'
|
||||
form_class = MatrixSynapseForm
|
||||
port_forwarding_info = matrixsynapse.port_forwarding_info
|
||||
|
||||
def dispatch(self, request, *args, **kwargs):
|
||||
"""Redirect to setup page if setup is not done yet."""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user