Skip to content

Commit 5eba83a

Browse files
committed
fix: disable cookie-parser secret by default to avoid unnecessary error
1 parent 83b4130 commit 5eba83a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

entry/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default async function createExpressApp(config) {
7171

7272
// handle cookieParser
7373
if (config.cookieParser) {
74-
let { secret = true, ...options } = config.cookieParser
74+
let { secret, ...options } = config.cookieParser
7575
app.use(cookieParser(secret, options))
7676
}
7777

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-imvc",
3-
"version": "2.10.26",
3+
"version": "2.10.27",
44
"description": "An Isomorphic MVC Framework",
55
"main": "./index",
66
"bin": {

0 commit comments

Comments
 (0)