aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/views.py
diff options
context:
space:
mode:
authorAlexander_Kabui2024-01-08 11:27:31 +0300
committerAlexander_Kabui2024-01-08 11:27:31 +0300
commit262cd686a18358e85b036b3ef8a75a1de043a8bc (patch)
treead8ca0a4fd3d01f5a084eab4e851283955b5b9fc /gn2/wqflask/views.py
parent5e3f614745ccbb8d91f117375925603e6a35832a (diff)
downloadgenenetwork2-262cd686a18358e85b036b3ef8a75a1de043a8bc.tar.gz
fix url error
Diffstat (limited to 'gn2/wqflask/views.py')
-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 0c7551e5..41963324 100644
--- a/gn2/wqflask/views.py
+++ b/gn2/wqflask/views.py
@@ -273,7 +273,7 @@ def gnqna():
return render_template("gnqa_answer.html", **resp.json())
return monad_requests.post(
- urljoin(current_app.config.get(GN_SERVER_URL),
+ urljoin(current_app.config["GN_SERVER_URL"],
"/api/llm/gnqna"),
json=dict(request.form),
).then(