Add a page listing the available database dumps

This commit is contained in:
Christopher Baines 2020-02-22 23:24:24 +00:00
parent 9178bd51a9
commit 510e13f175
5 changed files with 151 additions and 0 deletions

View file

@ -40,6 +40,13 @@
(if (file-exists? install-dir)
install-dir
dev-dir)))
(dumps-dir . ,(let ((install-dir
"/var/lib/guix-data-service/dumps")
(dev-dir
(string-append (getcwd) "/dumps")))
(if (file-exists? install-dir)
install-dir
dev-dir)))
(host . "localhost")
(port . 8765)