mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-13 03:50:02 -04:00
Update app.js
This commit is contained in:
parent
09bc8e23c6
commit
a02f6e7e30
1 changed files with 1 additions and 4 deletions
5
app.js
5
app.js
|
@ -57,12 +57,9 @@
|
|||
}
|
||||
if (websitePath == '/') { return `${websiteURL}`; } else return `${websiteURL}${websitePath}`;
|
||||
};
|
||||
const uuid = require('uuid/v4')
|
||||
|
||||
app.use(session({
|
||||
secret: 'alloy',
|
||||
genid: (req) => {
|
||||
return uuid() // use UUIDs for session IDs
|
||||
},
|
||||
saveUninitialized: true,
|
||||
resave: true
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue