Fix database volume mount to use app directory

This commit is contained in:
2025-05-01 08:47:36 -04:00
parent f15ad5f01e
commit e0a161eb51
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ let db: any;
async function connectToDatabase() {
try {
// Ensure database directory exists with proper permissions
// Database file will be in the app directory
const dbPath = path.join(__dirname, '../database.sqlite');
db = await open({