From 2031aabfa1897f867fa26ce8edf20758d755ea71 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 5 Jul 2022 00:17:15 +0530 Subject: web: server: Pass state directory to web server. * tissue/web/server.scm: Import (git) and (tissue git). (handler, start-web-server): Accept path to state directory instead of to the xapian index. * bin/tissue (tissue-run-web): Pass state directory to start-web-server. --- bin/tissue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/tissue b/bin/tissue index 9f26992..789cdb8 100755 --- a/bin/tissue +++ b/bin/tissue @@ -263,7 +263,7 @@ Run a web search service reading configuration from CONFIG-FILE. ;; Assume current directory as default. `(("localhost" (indexed-repository . ,(getcwd)))))) - %xapian-index))))) + (assq-ref args 'state-directory)))))) ;; This is a noop, since the index is built on any tissue command. It ;; exists just for the --help usage summary. -- cgit v1.2.3