Create and mount application level data direcory rather than just a scan directory

This commit is contained in:
Julian Stirling 2026-02-22 19:29:33 +00:00
parent 2c2a52cb97
commit 45903f92a6
12 changed files with 187 additions and 166 deletions

View file

@ -36,7 +36,7 @@ def main() -> None:
with open(config, "r", encoding="utf-8") as file_obj:
config_dict = json.load(file_obj)
config_dict["things"]["smart_scan"]["kwargs"]["scans_folder"] = "/tmp/scans"
config_dict["application_config"]["data_folder"] = "/tmp/data"
server = lt.ThingServer(things=config_dict["things"])
test_client = TestClient(server.app)