mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-20 21:00:41 +00:00
Refactor JWT_SECRET handling and add setup warning page
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// Shared config related to JWT secret bootstrapping / safety checks.
|
||||
// Keep this in one place so handlers don't duplicate the sample value.
|
||||
|
||||
// IMPORTANT:
|
||||
// This is a *sample* secret value used in `.dev.vars.example`.
|
||||
// If the runtime JWT_SECRET equals this value, we treat it as unsafe.
|
||||
export const DEFAULT_DEV_SECRET = 'Enter-your-JWT-key-here-at-least-32-characters';
|
||||
Reference in New Issue
Block a user