aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-05-31 15:06:00 +0300
committerArun Isaac2023-05-31 13:19:01 +0100
commitb663a689c8e584127f894652debc2a5b5339db50 (patch)
tree7855e7b42d3349e0345aa145ffeffe7f8c1e8b7f
parentf0c32ce4353338c3cfaa3c768fe2efc271059543 (diff)
downloadgn-machines-b663a689c8e584127f894652debc2a5b5339db50.tar.gz
Add trailing slash to GN_SERVER_URL.
Without the trailing slash, the urllib.parse.urljoin function produces the wrong endpoint. * genenetwork-development.scm (genenetwork2-cd-gexp): Add trailing slash to 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 0550d5f..1b16f93 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" "/api3/")
(setenv "GN3_LOCAL_URL"
#$(string-append "http://localhost:"
(number->string gn3-port)))