support PWA notification.
ci-cd-vm / ci-cd (push) Failing after 1m34s

This commit is contained in:
Chris Chen
2026-06-29 22:20:15 -07:00
parent 45d910b554
commit b9210f2501
32 changed files with 1054 additions and 12 deletions
@@ -29,4 +29,12 @@ public class NotificationSetting : AuditableEntity, IAuditable
public bool EnableLine { get; set; }
public string LineChannelAccessToken { get; set; } = "";
public string LineChannelSecret { get; set; } = "";
// ── Web Push (PWA browser notifications) ───────────────────────────────────
// VAPID keys identify this server to the push services. The pair is generated once on first
// startup if empty; the public key is safe to hand to the browser, the private key is a secret.
public bool EnableWebPush { get; set; }
public string VapidPublicKey { get; set; } = "";
public string VapidPrivateKey { get; set; } = "";
public string VapidSubject { get; set; } = ""; // "mailto:..." or the site URL
}