summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-04-12 19:04:29 +0200
committerxengineering <me@xengineering.eu>2023-04-13 17:59:37 +0200
commitec1936c20647ba405bd2cc457c16a02dfdf56216 (patch)
treee443ae88c949e9b6e8b0f3e3c73306064d39f204 /config
parent4eacd5f54074c6cd73eaef4178c56843ce742445 (diff)
downloadceres-ec1936c20647ba405bd2cc457c16a02dfdf56216.tar
ceres-ec1936c20647ba405bd2cc457c16a02dfdf56216.tar.zst
ceres-ec1936c20647ba405bd2cc457c16a02dfdf56216.zip
Do not hardcode data directory
Diffstat (limited to 'config')
-rw-r--r--config/debug.json3
-rw-r--r--config/default.json3
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"
}