aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/webserver.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/webserver.scm b/web/webserver.scm
index c92c1ad..c4ee6ca 100644
--- a/web/webserver.scm
+++ b/web/webserver.scm
@@ -27,6 +27,9 @@
(web view doc)
(web view markdown))
+(define +global-repo+
+ (getenv "REPO_PATH"))
+
(define +info+
`(("name" . "GeneNetwork REST API") ("version" ,get-version)
("comment" . "This is the official REST API for the GeneNetwork service hosted at https://genenetwork.org/")
@@ -169,9 +172,6 @@ otherwise search for set/group data"
`(("error" ,key)
("msg" ,msg)))))))
-(define +global-repo+
- (getenv "REPO_PATH"))
-
(define (invalid-data? data target)
(if (string? (assoc-ref data target))
(if (string-null? (assoc-ref data target))