-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkeys.js
More file actions
20 lines (20 loc) · 695 Bytes
/
keys.js
File metadata and controls
20 lines (20 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module.exports = {
DATABASE_URL: "mongodb://localhost/projectDb",
BASE_URL: "http://localhost:3000",
GOOGLE_CLIENT_ID: "Google Client ID",
GOOGLE_CLIENT_SECRET: "Google Client Secret",
GOOGLE_AUTH_CALLBACK: "http://localhost:3000/utility/login/google/callback",
CUSTOM_API_ROOT: "lil",
SESSION_CONFIGURATION: {
secret: 'your cookie secret',
resave: false,
saveUninitialized: false,
cookie: { // cookie settings for development only
secure: false,
maxAge: 30 * 24 * 60 * 60 * 1000,
// httpOnly: true,
sameSite: 'lax'
}
},
environment: 'DEV'
}