Revert "move sqlite DB file to persistent storage"
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good

This reverts commit 5d5f140091.
This commit is contained in:
2025-10-13 10:37:10 +02:00
parent 5d5f140091
commit 5e3205ae3f
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ import Database from 'better-sqlite3';
import fs from 'fs'; import fs from 'fs';
import path from 'path'; import path from 'path';
const fullPath = '/daten/tatort.db'; const fullPath = './src/lib/data/tatort.db';
const dir = path.dirname(fullPath); const dir = path.dirname(fullPath);
if (!fs.existsSync(dir)) { if (!fs.existsSync(dir)) {

View File

@@ -2,7 +2,7 @@ import Database from 'better-sqlite3';
import fs from 'fs'; import fs from 'fs';
import path from 'path'; import path from 'path';
const fullPath = '/daten/tatort.db'; const fullPath = './src/lib/data/tatort.db';
const dir = path.dirname(fullPath); const dir = path.dirname(fullPath);
if (!fs.existsSync(dir)) { if (!fs.existsSync(dir)) {