Skip to content

Commit 3082d0e

Browse files
Update index.ts
1 parent f515124 commit 3082d0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ app.use(cookieParser());
8787
// Cookie policy definition
8888
const COOKIE_MAX_AGE: string | number =
8989
process.env.COOKIE_MAX_AGE || 1000 * 60 * 60 * 24;
90-
const SECRET = process.env.JWT_KEY || 'your_jwt_secret';
90+
const SECRET = <string>process.env.JWT_KEY;
9191

9292
/**
9393
* FIX:

0 commit comments

Comments
 (0)