1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-11-30 04:10:01 +01:00

Add build flag for webpush

This commit is contained in:
binwiederhier 2025-08-07 18:31:42 +02:00
parent d9ab7cc78d
commit 00409d834b
4 changed files with 14 additions and 0 deletions

View file

@ -15,6 +15,10 @@ import (
)
const (
// WebPushAvailable is a constant used to indicate that WebPush support is available.
// It can be disabled with the 'nowebpush' build tag.
WebPushAvailable = true
webPushTopicSubscribeLimit = 50
)