déplacement .Keys et config
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
const config = {
|
||||
db: {
|
||||
connectionString: "mongodb://db:27017",
|
||||
dbName: "jucundus",
|
||||
},
|
||||
session: {
|
||||
sessionCollection: "Session",
|
||||
sessionConfig: {
|
||||
name: "jucundus.sid",
|
||||
cookie: {
|
||||
maxAge: 1000 * 60 * 60 * 24 * 30, // 30 days
|
||||
httpOnly: true, // only accessible by the server
|
||||
secure: true,
|
||||
},
|
||||
resave: false, // don't save session if unmodified
|
||||
saveUninitialized: true,
|
||||
}
|
||||
},
|
||||
jwtOptions: {
|
||||
issuer: "jucundus.com",
|
||||
audience: "yoursite",
|
||||
},
|
||||
agent :{
|
||||
ApiAgentURL: 'http://host.docker.internal:3020/api',
|
||||
token: '861v48gr4YTHJTUre0reg40g8e6r8r64eggv1r4e6g4r81PKREVJ8g6reg46r8eg416reST6ger84g14er86e',
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = { config };
|
||||
Reference in New Issue
Block a user