Skip to content

Commit cffa7b7

Browse files
Merge pull request #2 from giuseppealbrizio/development
Update index.ts
2 parents 93caece + 3082d0e commit cffa7b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
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)