mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-13 14:45:25 +03:00
10 lines
228 B
TypeScript
10 lines
228 B
TypeScript
// Notifications Worker
|
|
|
|
self.addEventListener("push", function (event) {
|
|
if (event.data) {
|
|
console.log("This push event has data: ", event.data.text());
|
|
} else {
|
|
console.log("This push event has no data.");
|
|
}
|
|
});
|