diff options
Diffstat (limited to 'wqflask/wqflask/collect.py')
-rw-r--r-- | wqflask/wqflask/collect.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/collect.py b/wqflask/wqflask/collect.py index b344bd99..18f3091f 100644 --- a/wqflask/wqflask/collect.py +++ b/wqflask/wqflask/collect.py @@ -2,6 +2,7 @@ import hashlib import datetime import os import simplejson as json +from urllib.parse import urljoin from flask import g from flask import render_template @@ -277,7 +278,7 @@ def view_collection(): collection_info = dict( trait_obs=trait_obs, uc=uc, - heatmap_data_url=f"{GN_SERVER_URL}/heatmaps/clustered") + heatmap_data_url=urljoin(GN_SERVER_URL, "heatmaps/clustered")) if "json" in params: return json.dumps(json_version) |