diff options
| author | Pitu <[email protected]> | 2021-01-05 16:12:25 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2021-01-05 16:12:25 +0900 |
| commit | cdeca073ba0d70271898e05346a8d57ec4ec4060 (patch) | |
| tree | 44cb777570e195f8cc04c89aa84aa179735d9682 | |
| parent | fix: try to remove thumbnail only if the file has one (diff) | |
| download | host.fuwn.me-cdeca073ba0d70271898e05346a8d57ec4ec4060.tar.xz host.fuwn.me-cdeca073ba0d70271898e05346a8d57ec4ec4060.zip | |
fix: migration didn't properly grab the env variables
| -rw-r--r-- | src/api/databaseMigration.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/databaseMigration.js b/src/api/databaseMigration.js index 71ee2e6..dcc71d6 100644 --- a/src/api/databaseMigration.js +++ b/src/api/databaseMigration.js @@ -1,3 +1,5 @@ +require('dotenv').config(); + const nodePath = require('path'); const moment = require('moment'); const jetpack = require('fs-jetpack'); |