MCPcopy Create free account
hub / github.com/ComfyWorkflows/ComfyUI-Launcher / api_settings

Function api_settings

server/server.py:69–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67
68@app.route("/api/settings")
69def api_settings():
70 return jsonify({
71 "PROJECT_MIN_PORT": PROJECT_MIN_PORT,
72 "PROJECT_MAX_PORT": PROJECT_MAX_PORT,
73 "ALLOW_OVERRIDABLE_PORTS_PER_PROJECT": ALLOW_OVERRIDABLE_PORTS_PER_PROJECT,
74 "PROXY_MODE": PROXY_MODE
75 })
76
77@app.route("/api/projects", methods=["GET"])
78def list_projects():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected