chore: implement constants

This commit is contained in:
Bill Church 2024-08-21 17:43:24 +00:00
parent 4196ef3554
commit cd56b3c51f
No known key found for this signature in database

View file

@ -62,7 +62,7 @@ const defaultConfig = {
compress: ["none", "zlib@openssh.com", "zlib"] compress: ["none", "zlib@openssh.com", "zlib"]
}, },
session: { session: {
secret: process.env.WEBSSH_SESSION_SECRET || generateSecureSecret(), secret: generateSecureSecret(),
name: "webssh2.sid" name: "webssh2.sid"
} }
} }