aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-05-31 17:41:59 +0300
committerArun Isaac2023-05-31 16:09:07 +0100
commit67d3f5dc46422c6b1812547109680c147fdde341 (patch)
tree60e50ea2b35430f47f58ae97147cefe8a9208613
parentb663a689c8e584127f894652debc2a5b5339db50 (diff)
downloadgn-machines-67d3f5dc46422c6b1812547109680c147fdde341.tar.gz
Use an absolute GN_SERVER_URL.
A relative GN_SERVER_URL sometimes leads to issues when code (in libraries e.g. requests and the like) cannot expand the URI since it does not have context about the running server. * genenetwork-development.scm (genenetwork2-cd-gexp): Use an absolute GN_SERVER_URL. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
-rw-r--r--genenetwork-development.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index 1b16f93..2581144 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -431,7 +431,7 @@ server described by CONFIG, a <genenetwork-configuration> object."
(content (package->development-manifest genenetwork2))
(allow-collisions? #t)))
(setenv "GN_PROXY_URL" "http://genenetwork.org/gn3-proxy/")
- (setenv "GN_SERVER_URL" "/api3/")
+ (setenv "GN_SERVER_URL" "https://cd.genenetwork.org/api3/")
(setenv "GN3_LOCAL_URL"
#$(string-append "http://localhost:"
(number->string gn3-port)))