1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-09 12:18:52 +00:00

Merge branch 'master' into refactor-remove-unused-imports

This commit is contained in:
Orta
2019-06-19 14:26:30 -07:00
committed by GitHub
12 changed files with 4628 additions and 4574 deletions

View File

@@ -21,6 +21,10 @@ if (!SESSION_SECRET) {
}
if (!MONGODB_URI) {
logger.error("No mongo connection string. Set MONGODB_URI environment variable.");
if (prod) {
logger.error("No mongo connection string. Set MONGODB_URI environment variable.");
} else {
logger.error("No mongo connection string. Set MONGODB_URI_LOCAL environment variable.");
}
process.exit(1);
}