add minute to notification scheduling & fix a bug, plus other tweaks

This commit is contained in:
2024-11-15 20:39:08 -07:00
parent bd622e19a8
commit f57d3b7707
6 changed files with 106 additions and 22 deletions

View File

@@ -374,8 +374,8 @@ export const sendTestThroughPushServer = async (
pushUrl = settings.webPushServer;
}
// This is a special value that tells the service worker to send a direct notification to the device, skipping filters.
// This is shared with the service worker and should be a constant. Look for the same name in additional-scripts.js
// This is a special value that tells the service worker to send a direct notification to the device, skipping filters.
// Use something other than "Daily Update" https://gitea.anomalistdesign.com/trent_larson/py-push-server/src/commit/3c0e196c11bc98060ec5934e99e7dbd591b5da4d/app.py#L213
const DIRECT_PUSH_TITLE = "DIRECT_NOTIFICATION";