We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f515124 commit 3082d0eCopy full SHA for 3082d0e
src/index.ts
@@ -87,7 +87,7 @@ app.use(cookieParser());
87
// Cookie policy definition
88
const COOKIE_MAX_AGE: string | number =
89
process.env.COOKIE_MAX_AGE || 1000 * 60 * 60 * 24;
90
-const SECRET = process.env.JWT_KEY || 'your_jwt_secret';
+const SECRET = <string>process.env.JWT_KEY;
91
92
/**
93
* FIX:
0 commit comments