Skip to content

Commit

Permalink
fix: default value for jwt secret
Browse files Browse the repository at this point in the history
  • Loading branch information
orig committed Sep 4, 2023
1 parent 0186422 commit 27d1b77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/backend/src/config/config.factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export const configFactory: ConfigFactory<{ config: Configuration }> = () => {
ttl: +process.env.REDIS_TTL || 1000 * 60 * 60 * 24 * 7, // 7 days in ms
},
jwt: {
accessSecret: process.env.JWT_ACCESS_SECRET,
refreshSecret: process.env.JWT_REFRESH_SECRET,
accessSecret: process.env.JWT_ACCESS_SECRET || "secret",
refreshSecret: process.env.JWT_REFRESH_SECRET || "secret",
},
novu: {
apiKey: process.env.NOVU_API_KEY,
Expand Down

0 comments on commit 27d1b77

Please sign in to comment.