summary refs log tree commit diff
path: root/synapse_topology
diff options
context:
space:
mode:
Diffstat (limited to 'synapse_topology')
-rw-r--r--synapse_topology/controller/server/server.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse_topology/controller/server/server.py b/synapse_topology/controller/server/server.py
index b5a79fba00..de2b3b5417 100644
--- a/synapse_topology/controller/server/server.py
+++ b/synapse_topology/controller/server/server.py
@@ -9,6 +9,11 @@ app = Klein()
 from . import error_handlers
 
 
+@app.route("/setup", methods=["GET"])
+def get_config_setup(request):
+    return json.dumps({model.constants.CONFIG_LOCK: model.config_in_use()})
+
+
 @app.route("/servername", methods=["GET"])
 def get_server_name(request):
     return model.get_server_name()