diff --git a/app.py b/app.py index 29a12db..a89e5ba 100644 --- a/app.py +++ b/app.py @@ -111,7 +111,7 @@ def get_http_function_edit_form(): if not http_function: return jsonify({'error': 'Function not found'}), 404 script = http_function['script_content'] - environment_info = json.dumps(http_function['environment_info']) + environment_info = json.dumps(http_function['environment_info'], indent=2) return render_template("dashboard/http_functions/edit.html", name=name, script=script, environment_info=environment_info) @ app.route("/dashboard/http_functions/edit", methods=["POST"])