This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Version 1.1.5 - BETA | |
const cacheMinutes = 60 * 2 | |
const today = new Date() | |
let width; | |
const h = 5 | |
const debug = false | |
if (config.widgetFamily === 'small') { | |
width = 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const req = new Request('https://api.pushcut.io/l...-s/notifications/Example') | |
await req.loadJSON() | |
// Oder mit dynamischen Title und Text. Und einer Url welche sich öffnet wenn man die Push Nachricht anklickt. | |
const req2 = new Request('https://api.pushcut.io/l...-s/notifications/Example') | |
req2.method = 'POST' | |
req2.headers = { |