Skip to content

Commit aa7b711

Browse files
committed
fix: output VAPID private key as single-line JSON for easy copying
1 parent b485655 commit aa7b711

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/builder/lib/commandLine

packages/builder/lib/commandLine/keys.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async function generateVapidKeys(): Promise<void> {
2828
console.log('Public Key:');
2929
console.log(publicKey);
3030
console.log('\nPrivate Key (JWK):');
31-
console.log(JSON.stringify(privateJWKWithAlg, null, 2));
31+
console.log(JSON.stringify(privateJWKWithAlg));
3232
console.log('\nStore these keys securely. Never expose your private key.');
3333
} catch (error: unknown) {
3434
console.error('Error generating VAPID keys:');

0 commit comments

Comments
 (0)