From cf8d7d21a450aaaa474b4ebd15197183e7806453 Mon Sep 17 00:00:00 2001 From: julialawrence Date: Mon, 23 Oct 2023 09:55:17 +0100 Subject: [PATCH] Debuggig. --- app/app.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/app/app.py b/app/app.py index 71fb22c..2198ea1 100644 --- a/app/app.py +++ b/app/app.py @@ -439,9 +439,6 @@ def start_vscode(id): return render_template("vscode.html") -@app.route( - "/vscode_proxy/", methods=["GET", "POST", "PUT", "DELETE", "PATCH"] -) @app.route( "/vscode_proxy/", methods=["GET", "POST", "PUT", "DELETE", "PATCH"] ) @@ -449,6 +446,19 @@ def vscode_proxy(path): """ This route acts as a proxy for the VS Code server, forwarding requests and responses. """ + + return """ + + + + + Debug Page + + +

You're here

+ +""" + print(f"VSCode Proxy called with path: {path}") user_info = session.get("user")