aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-08-16 06:51:05 +0300
committerArun Isaac2022-08-16 12:39:16 +0530
commit5cd33ed762f6fe1301f6e5bb615eb9101012af23 (patch)
tree150723c499b7fc92e716bf299763cac6386a6250
parentb31af6e8b932de7f80354080779a2dc922d39ef5 (diff)
downloadgn-machines-5cd33ed762f6fe1301f6e5bb615eb9101012af23.tar.gz
Add trailing slash to GN_PROXY_URL.
The urljoin function reduces a URL without a trailing slash to just the base, e.g. "http://genenetwork.org/gn3-proxy" is reduced to "http://genenetwork.org", which is not what we want. * genenetwork/development-helper.scm (genenetwork2-runner-gexp): Add trailing slash to GN_PROXY_URL environment variable. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
-rw-r--r--genenetwork/development-helper.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/genenetwork/development-helper.scm b/genenetwork/development-helper.scm
index a5d4219..a3c3d82 100644
--- a/genenetwork/development-helper.scm
+++ b/genenetwork/development-helper.scm
@@ -119,7 +119,7 @@ files."
((_ ip port)
(setenv "SERVER_PORT" port)
(setenv "GN2_PROFILE" #$profile)
- (setenv "GN_PROXY_URL" "http://genenetwork.org/gn3-proxy")
+ (setenv "GN_PROXY_URL" "http://genenetwork.org/gn3-proxy/")
(setenv "GN_SERVER_URL" "https://gn3dev.genenetwork.org/")
(setenv "GN3_LOCAL_URL"
(string-append "http://localhost:"