@hellocoop/quickstart 2.6.4 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/express.mjs +1 -1
- package/next.mjs +1 -1
- package/package.json +1 -1
package/express.mjs
CHANGED
|
@@ -52,7 +52,7 @@ const writeEnvLocal = async (name) => {
|
|
|
52
52
|
return
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
const secret = randomBytes(
|
|
55
|
+
const secret = randomBytes(32).toString('hex')
|
|
56
56
|
const env = `
|
|
57
57
|
# added by @hellocoop/quickstart --${name} on ${(new Date()).toISOString()}
|
|
58
58
|
HELLO_COOKIE_SECRET='${secret}'
|
package/next.mjs
CHANGED
|
@@ -78,7 +78,7 @@ const writeEnvLocal = async () => {
|
|
|
78
78
|
return
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
const secret = randomBytes(
|
|
81
|
+
const secret = randomBytes(32).toString('hex')
|
|
82
82
|
const env = `
|
|
83
83
|
# added by @hellocoop/quickstart --nextjs on ${(new Date()).toISOString()}
|
|
84
84
|
HELLO_COOKIE_SECRET='${secret}'
|