Skip to content
This repository was archived by the owner on Apr 19, 2025. It is now read-only.

Commit 40c9062

Browse files
committed
quick patch
1 parent e3ec766 commit 40c9062

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function getRandomURL() {
5353
}
5454
return result;
5555
}
56-
const secret = process.env.NODE_ENV === "development" ? "secret" : process.env.COOKIE_KEY
56+
const secret = process.env.COOKIE_KEY || "secret";
5757
app.use(session({
5858
secret: secret,
5959
resave: false,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "linkry-link-shortener",
3-
"version": "1.3.1",
3+
"version": "1.3.1-patch1",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)