summaryrefslogtreecommitdiff
path: root/config.json
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-03-27 17:57:19 +0200
committerxengineering <me@xengineering.eu>2023-03-27 17:57:19 +0200
commitd7ce7860bf47ad1f51a44a9705eb0dbf1825eb66 (patch)
tree49f36a991a4777aa3e6cee4b43e8d83668e4e7dd /config.json
parent5d1d9e09e3fd26228230bb325ca3d5ddf2576070 (diff)
downloadwebiot-d7ce7860bf47ad1f51a44a9705eb0dbf1825eb66.tar
webiot-d7ce7860bf47ad1f51a44a9705eb0dbf1825eb66.tar.zst
webiot-d7ce7860bf47ad1f51a44a9705eb0dbf1825eb66.zip
Pass appdata directory by argument
Passing this as part of the configuration file is not flexible. With args it can be easily tweaked for the debug use case while the default path for production is included in the argument parsing.
Diffstat (limited to 'config.json')
-rw-r--r--config.json3
1 files changed, 1 insertions, 2 deletions
diff --git a/config.json b/config.json
index 513e364..9366364 100644
--- a/config.json
+++ b/config.json
@@ -7,6 +7,5 @@
},
"web":{
"listen":"127.0.0.1:9000"
- },
- "appdata":"/usr/share/webiot/"
+ }
}