diff options
author | xengineering <me@xengineering.eu> | 2023-04-12 19:04:29 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-04-13 17:59:37 +0200 |
commit | ec1936c20647ba405bd2cc457c16a02dfdf56216 (patch) | |
tree | e443ae88c949e9b6e8b0f3e3c73306064d39f204 /config | |
parent | 4eacd5f54074c6cd73eaef4178c56843ce742445 (diff) | |
download | ceres-ec1936c20647ba405bd2cc457c16a02dfdf56216.tar ceres-ec1936c20647ba405bd2cc457c16a02dfdf56216.tar.zst ceres-ec1936c20647ba405bd2cc457c16a02dfdf56216.zip |
Do not hardcode data directory
Diffstat (limited to 'config')
-rw-r--r-- | config/debug.json | 3 | ||||
-rw-r--r-- | config/default.json | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/config/debug.json b/config/debug.json index 47e80ea..ff9b1d3 100644 --- a/config/debug.json +++ b/config/debug.json @@ -2,5 +2,6 @@ "bind_host":"127.0.0.1", "bind_port":"8080", "static":"./data/static", - "templates":"./data/templates" + "templates":"./data/templates", + "data":"./data/storage" } diff --git a/config/default.json b/config/default.json index 02220d3..05cb95d 100644 --- a/config/default.json +++ b/config/default.json @@ -2,5 +2,6 @@ "bind_host":"127.0.0.1", "bind_port":"8080", "static":"/usr/share/ceres/static", - "templates":"/usr/share/ceres/templates" + "templates":"/usr/share/ceres/templates", + "data":"/var/lib/ceres" } |