summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2023-11-28 08:38:19 +0100
committerVincent Douillet <vincent@vdouillet.fr>2023-11-29 15:45:28 +0100
commit43f65c76152017420ce723b4d4ef4230ff072818 (patch)
tree5c981b2d6949ebd5a5bdefe112383f6874d9342a /config.h
parenta8158372e4173f760d893516c0d8aecbb0e737ac (diff)
browse: use khttp_template
Diffstat (limited to 'config.h')
-rw-r--r--config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/config.h b/config.h
index c79aedc..3f58258 100644
--- a/config.h
+++ b/config.h
@@ -37,7 +37,7 @@
* files.
*/
#ifndef DATA_DIR
-#define DATA_DIR "/var/www/vault-data"
+#define DATA_DIR "/vault-data"
#endif
/*
@@ -48,4 +48,9 @@
#define LOG_FILE "/var/log/vault.log"
#endif
+/* The directory that contains the HTML template files */
+#ifndef TEMPLATE_DIR
+#define TEMPLATE_DIR "/usr/share/vault/template"
+#endif
+
#endif /* CONFIG_H */