Skip to content
Snippets Groups Projects
Commit dde14958 authored by James Long's avatar James Long
Browse files

Allow user files directory to be configured via env vars

parent 065f87c2
Branches
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ app.use(errorMiddleware); ...@@ -21,7 +21,7 @@ app.use(errorMiddleware);
async function init() { async function init() {
await actual.init({ await actual.init({
config: { config: {
dataDir: join(__dirname, 'user-files') dataDir: join(__dirname, process.env.ACTUAL_USER_FILES || config.files)
} }
}); });
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment