about summary refs log tree commit diff
path: root/wqflask/base
diff options
context:
space:
mode:
authorzsloan2020-06-20 17:47:38 -0500
committerzsloan2020-06-20 17:47:38 -0500
commit51417c06061246bc92be89db198b3e74e7126035 (patch)
tree142c830732f02e982ac26cb7764aa07452143ffe /wqflask/base
parent75802ed1f9e5d955987bf5f5eb78a9cb120116ec (diff)
downloadgenenetwork2-51417c06061246bc92be89db198b3e74e7126035.tar.gz
Fixed ports for proxy (though I need to add the port to global variables) and also simplified the check_owner_or_admin function a little
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/trait.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index c2b8b910..0e26ca2c 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -382,9 +382,9 @@ def retrieve_trait_info(trait, dataset, get_qtl_info=False):
 
     resource_id = get_resource_id(dataset, trait.name)
     if dataset.type == 'Publish':
-        the_url = "http://localhost:8081/run-action?resource={}&user={}&branch=data&action=view".format(resource_id, g.user_session.user_id)
+        the_url = "http://localhost:8080/run-action?resource={}&user={}&branch=data&action=view".format(resource_id, g.user_session.user_id)
     else:
-        the_url = "http://localhost:8081/run-action?resource={}&user={}&branch=data&action=view&trait={}".format(resource_id, g.user_session.user_id, trait.name)
+        the_url = "http://localhost:8080/run-action?resource={}&user={}&branch=data&action=view&trait={}".format(resource_id, g.user_session.user_id, trait.name)
 
     response = requests.get(the_url).content
     if response.strip() == "no-access":