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

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

No files matched your search

+1 -2
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.
*/