From 203d073c9c28b2aa26c78718160136dab6dd8470 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 8 Sep 2022 22:40:35 +0530 Subject: 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. --- etc/default_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') 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 -- cgit v1.2.3