From 39cb5deed5f33122ea2cc8502945f171367db5df Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Thu, 22 Aug 2024 14:40:57 +0300 Subject: Rename edit endpoint from /editor to editor/edit --- gn2/wqflask/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py index 4c7a0ae2..995b2b31 100644 --- a/gn2/wqflask/views.py +++ b/gn2/wqflask/views.py @@ -310,7 +310,7 @@ def gnqna(): return render_template("gnqa.html", prev_queries=prev_queries) -@app.route("/editor/", methods=["GET"]) +@app.route("/editor/edit", methods=["GET"]) @require_oauth2 def edit_gn_doc_file(): file_path = request.args.get("file-path", "") -- cgit v1.2.3