Update timezone lookup to use offline method instead of Google API

This commit is contained in:
Samer Albahra
2018-05-19 09:53:22 -05:00
parent bf538ab085
commit f69fef232a
4 changed files with 3137 additions and 39 deletions

View File

@@ -14,7 +14,7 @@ if ( !process.env.HOST || !process.env.PORT ) {
}
// Connect to local MongoDB instance
mongoose.connect( "localhost" );
mongoose.connect( "mongodb://localhost", { useMongoClient: true } );
// If the database connection cannot be established, throw an error
mongoose.connection.on( "error", function() {