Skip to content

Commit

Permalink
use absolute directory in db datasource
Browse files Browse the repository at this point in the history
  • Loading branch information
f-w committed Nov 29, 2023
1 parent 643e18d commit 5de8c79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/datasources/db.datasource.json

This file was deleted.

4 changes: 4 additions & 0 deletions src/datasources/db.datasource.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import path from 'path';
module.exports = {
dbPath: path.join(__dirname, '..', '..', 'server/database'),
};

0 comments on commit 5de8c79

Please sign in to comment.