Přesun json databaze (souboru db.json) do složky data, související úpravy v Dockerfile

This commit is contained in:
Michal Hájek
2025-02-02 16:09:07 +01:00
parent 44b09a9d1a
commit f3af64923c
2 changed files with 6 additions and 5 deletions

View File

@@ -1,8 +1,7 @@
import JSONdb from 'simple-json-db';
import { StorageInterface } from "./StorageInterface";
const db = new JSONdb('./data.json');
const db = new JSONdb('../data/db.json');
/**
* Implementace úložiště používající JSON soubor.
*/