aboutsummaryrefslogtreecommitdiff
path: root/etc/default_settings.py
diff options
context:
space:
mode:
authorArun Isaac2022-09-08 22:40:35 +0530
committerArun Isaac2022-09-08 22:59:49 +0530
commit203d073c9c28b2aa26c78718160136dab6dd8470 (patch)
treecdaa51de5af78b4d92bead1b607832da45ab69f6 /etc/default_settings.py
parent08a937631da94c8158068072d2ce2346c29e9cbe (diff)
downloadgenenetwork2-203d073c9c28b2aa26c78718160136dab6dd8470.tar.gz
Make GN_SERVER_URL the genenetwork3 API endpoint.
From now on, GN_SERVER_URL will be the genenetwork3 API endpoint. For example, GN_SERVER_URL=https://gn3.genenetwork.org/api * wqflask/wqflask/collect.py (view_collection), wqflask/wqflask/partial_correlations_views.py (partial_correlations, poll_partial_correlation_results), wqflask/wqflask/static/new/javascript/dataset_select_menu_orig.js (defaultStatusCodeFunctions): Do not append api to GN_SERVER_URL. * etc/default_settings.py (GN_SERVER_URL): Append /api.
Diffstat (limited to 'etc/default_settings.py')
-rw-r--r--etc/default_settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/default_settings.py b/etc/default_settings.py
index ff84f021..7ae305ed 100644
--- a/etc/default_settings.py
+++ b/etc/default_settings.py
@@ -40,7 +40,7 @@ GN_PROXY_URL="https://genenetwork.org/gn3-proxy/"
SQL_URI = "mysql://gn2:mysql_password@localhost/db_webqtl_s"
SQL_ALCHEMY_POOL_RECYCLE = 3600
-GN_SERVER_URL = "http://localhost:8880/" # REST API server
+GN_SERVER_URL = "http://localhost:8880/api" # REST API server
GN2_BASE_URL = "http://genenetwork.org/" # to pick up REST API
GN2_BRANCH_URL = GN2_BASE_URL