Added HTTPS to express
This commit is contained in:
@@ -8,6 +8,8 @@ const _ = require('lodash');
|
||||
// Resolving error Unknown modifier: $pushAll
|
||||
mongoose.plugin(schema => { schema.options.usePushEach = true });
|
||||
|
||||
mongoose.set('debug', process.env.DEBUG);
|
||||
|
||||
var UserSchema = new mongoose.Schema({
|
||||
email: {
|
||||
type: String,
|
||||
|
||||
Reference in New Issue
Block a user