Skip to content

Commit 76b36d7

Browse files
add: cookie secret in cookie parser
1 parent 50761c7 commit 76b36d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async function main() {
3535
next();
3636
});
3737

38-
app.use(cookieParser());
38+
app.use(cookieParser(process.env.COOKIE_SECRET));
3939
app.use(
4040
fileUpload({
4141
limits: {

0 commit comments

Comments
 (0)