about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gn2/wqflask/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py
index 4728553a..7a5f77d0 100644
--- a/gn2/wqflask/views.py
+++ b/gn2/wqflask/views.py
@@ -272,7 +272,7 @@ def gnqna():
 
                 return render_template("gnqa_answer.html",**resp.json())
             return monad_requests.post(
-                urljoin(GN_SERVER_URL,
+                urljoin(current_app.config["GN_SERVER_URL"],
                         "llm/gnqna"),
                 json=dict(request.form),
                 ).then(