summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-04-12 18:50:34 +0200
committerxengineering <me@xengineering.eu>2023-04-12 18:50:34 +0200
commit4eacd5f54074c6cd73eaef4178c56843ce742445 (patch)
tree66fb1929c84310e27c21d4fc7e21f830849191af /config
parentba971b29db4579db8e95d920d6c035d621fe2531 (diff)
downloadceres-4eacd5f54074c6cd73eaef4178c56843ce742445.tar
ceres-4eacd5f54074c6cd73eaef4178c56843ce742445.tar.zst
ceres-4eacd5f54074c6cd73eaef4178c56843ce742445.zip
Switch to unnested config
This is now just not needed.
Diffstat (limited to 'config')
-rw-r--r--config/debug.json10
-rw-r--r--config/default.json10
2 files changed, 8 insertions, 12 deletions
diff --git a/config/debug.json b/config/debug.json
index 8333e1e..47e80ea 100644
--- a/config/debug.json
+++ b/config/debug.json
@@ -1,8 +1,6 @@
{
- "http":{
- "bind_host":"127.0.0.1",
- "bind_port":"8080",
- "static":"./data/static",
- "templates":"./data/templates"
- }
+ "bind_host":"127.0.0.1",
+ "bind_port":"8080",
+ "static":"./data/static",
+ "templates":"./data/templates"
}
diff --git a/config/default.json b/config/default.json
index 0fbcf09..02220d3 100644
--- a/config/default.json
+++ b/config/default.json
@@ -1,8 +1,6 @@
{
- "http":{
- "bind_host":"127.0.0.1",
- "bind_port":"8080",
- "static":"/usr/share/ceres/static",
- "templates":"/usr/share/ceres/templates"
- }
+ "bind_host":"127.0.0.1",
+ "bind_port":"8080",
+ "static":"/usr/share/ceres/static",
+ "templates":"/usr/share/ceres/templates"
}