From 5cd33ed762f6fe1301f6e5bb615eb9101012af23 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 16 Aug 2022 06:51:05 +0300 Subject: 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 --- genenetwork/development-helper.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'genenetwork/development-helper.scm') 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:" -- cgit v1.2.3