Create and mount application level data direcory rather than just a scan directory
This commit is contained in:
parent
2c2a52cb97
commit
45903f92a6
12 changed files with 187 additions and 166 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue