diff options
author | Frederick Muriuki Muriithi | 2022-09-09 04:43:05 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-09-09 04:43:05 +0300 |
commit | 9dd474141c968dd9b22bbb11f3b2af80b31aa530 (patch) | |
tree | e5caa1166eca91ace50f3157f2187ae96014f4bc /etc/default_settings.py | |
parent | 9bc71ba5fc999e0559d30b842c56a338f394533d (diff) | |
download | genenetwork2-9dd474141c968dd9b22bbb11f3b2af80b31aa530.tar.gz |
Use `urllib.parse.urljoin` for urls
Use the `urllib.parse.urljoin` function to join urls rather than
string concatenation for uniformity.
Diffstat (limited to 'etc/default_settings.py')
-rw-r--r-- | etc/default_settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/default_settings.py b/etc/default_settings.py index 7ae305ed..6d7ac063 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/api" # 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 |