mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 01:58:40 -05:00
Log which file dir it uses
This commit is contained in:
@@ -19,9 +19,13 @@ const app = express();
|
||||
app.use(errorMiddleware);
|
||||
|
||||
async function init() {
|
||||
let fileDir = join(__dirname, process.env.ACTUAL_USER_FILES || config.files);
|
||||
|
||||
console.log('Initializing Actual with user file dir:', fileDir);
|
||||
|
||||
await actual.init({
|
||||
config: {
|
||||
dataDir: join(__dirname, process.env.ACTUAL_USER_FILES || config.files)
|
||||
dataDir: fileDir
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user