mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-27 01:46:35 +00:00
fix: clean up secret key generation log message
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b739533ce1
commit
9db8d1d65b
1 changed files with 3 additions and 3 deletions
|
|
@ -130,9 +130,9 @@ function loadServerKey(config: SecretsConfig, log: SecretsLog): Buffer {
|
|||
}
|
||||
}
|
||||
|
||||
// 3. Generate new dev key
|
||||
log.warn(
|
||||
`GENERATING DEV SERVER KEY at ${keyPath} — production should use systemd-creds`,
|
||||
// 3. No key found — generate one and persist.
|
||||
log.info(
|
||||
`encryption key not found, generating new key at ${keyPath}`,
|
||||
);
|
||||
try {
|
||||
mkdirSync(dirname(keyPath), { recursive: true });
|
||||
|
|
|
|||
Loading…
Reference in a new issue