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

This commit is contained in:
2025-10-13 09:57:34 +02:00
parent bb912841f4
commit 5d5f140091
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 path from 'path';
const fullPath = './src/lib/data/tatort.db';
const fullPath = '/daten/tatort.db';
const dir = path.dirname(fullPath);
if (!fs.existsSync(dir)) {

View File

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