aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander_Kabui2024-01-05 21:50:17 +0300
committerAlexander_Kabui2024-01-05 21:50:17 +0300
commit18b3d169091b03f6a0035e5289b695c3166a1b71 (patch)
tree73d07ec5e8784db0924797b3de162e437fac1642
parentc1d377ec86b902f76e47fc4506a9ff260d788082 (diff)
downloadgenenetwork2-18b3d169091b03f6a0035e5289b695c3166a1b71.tar.gz
fetch gn_server_url from current config
-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(