mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-27 02:56:33 +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
|
// 3. No key found — generate one and persist.
|
||||||
log.warn(
|
log.info(
|
||||||
`GENERATING DEV SERVER KEY at ${keyPath} — production should use systemd-creds`,
|
`encryption key not found, generating new key at ${keyPath}`,
|
||||||
);
|
);
|
||||||
try {
|
try {
|
||||||
mkdirSync(dirname(keyPath), { recursive: true });
|
mkdirSync(dirname(keyPath), { recursive: true });
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue