@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user