Added a config option for test data seeding

ref #110
This commit is contained in:
2021-01-20 17:25:46 +01:00
parent da9a359251
commit 67ba489fe2
2 changed files with 7 additions and 1 deletions

View File

@@ -9,7 +9,8 @@ export const config = {
jwt_secret: process.env.JWT_SECRET || "secretjwtsecret",
phone_validation_countrycode: getPhoneCodeLocale(),
postalcode_validation_countrycode: getPostalCodeLocale(),
version: process.env.VERSION || require('../package.json').version
version: process.env.VERSION || require('../package.json').version,
seedTestData: process.env.SEED_TEST || false
}
let errors = 0
if (typeof config.internal_port !== "number") {