Skip to content

Commit

Permalink
use secret in .env instead of hard coded one (#2718)
Browse files Browse the repository at this point in the history
  • Loading branch information
hivivo authored Dec 21, 2023
1 parent 8cfe977 commit d751046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-front/server/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ app.use(bodyParser.urlencoded({ extended: true }));
app.use(
session({
store: SESSION_STORE,
secret: 'helix',
secret: process.env.SECRET_TOKEN,
resave: true,
saveUninitialized: true,
cookie: { expires: new Date(2147483647000) },
Expand Down

0 comments on commit d751046

Please sign in to comment.