fix(config): 🐛 Trigger vapid key autogeneration even when block is not commented out

This commit is contained in:
Jesse Wierzbinski 2025-04-15 20:43:32 +02:00
parent b67d86dc57
commit 88944712fe
No known key found for this signature in database

View file

@ -212,7 +212,7 @@ export const vapidKeyPair = z
})
.optional()
.transform((k, ctx) => {
if (!k) {
if (!(k?.public && k?.private)) {
const keys = generateVAPIDKeys();
ctx.addIssue({