Answer the question
In order to leave comments, you need to log in
Why does authorization from a mobile phone with the option enabled not work?
var session = require('express-session');
// Создаем сервер на Express4
app.use(session({
genid: function(req) {
return uuid.v4();
},
saveUninitialized: false,
resave: true,
cookie: {
name: "SSID",
maxAge: (60*60*1000*24),
secure: true // <- ПРОБЛЕМА
} ,
key: "SSID",
secret: "super secret string",
proxy: true,
store: MongoStore
}));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question