Skip to content

Commit

Permalink
quick patch
Browse files Browse the repository at this point in the history
  • Loading branch information
devksingh4 committed Jan 23, 2023
1 parent e3ec766 commit 40c9062
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function getRandomURL() {
}
return result;
}
const secret = process.env.NODE_ENV === "development" ? "secret" : process.env.COOKIE_KEY
const secret = process.env.COOKIE_KEY || "secret";
app.use(session({
secret: secret,
resave: false,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkry-link-shortener",
"version": "1.3.1",
"version": "1.3.1-patch1",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 40c9062

Please sign in to comment.