We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e6b1a9 commit 727d661Copy full SHA for 727d661
app/templates/server/config/express.js
@@ -39,7 +39,10 @@ module.exports = function(app) {
39
secret: config.secrets.session,
40
resave: true,
41
saveUninitialized: true,
42
- store: new mongoStore({ mongoose_connection: mongoose.connection })
+ store: new mongoStore({
43
+ mongooseConnection: mongoose.connection,
44
+ db: '<%= _.slugify(_.humanize(appname)) %>'
45
+ })
46
}));
47
<% } %>
48
if ('production' === env) {
0 commit comments