From ec1936c20647ba405bd2cc457c16a02dfdf56216 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 12 Apr 2023 19:04:29 +0200 Subject: Do not hardcode data directory --- config/debug.json | 3 ++- config/default.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'config') 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" } -- cgit v1.2.3-70-g09d2