From a52060180ae17b1738c3cda67d2c900ed13928c8 Mon Sep 17 00:00:00 2001 From: limepotato Date: Tue, 3 Sep 2024 03:54:18 -0600 Subject: [PATCH] no tags --- astro/public/scripts/ntfy.js | 4 +--- astro/src/components/main-page/silly-widgets.astro | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/astro/public/scripts/ntfy.js b/astro/public/scripts/ntfy.js index b6c1edb..07d93ab 100644 --- a/astro/public/scripts/ntfy.js +++ b/astro/public/scripts/ntfy.js @@ -1,6 +1,5 @@ const ntfyMessage = document.getElementById("ntfy-message"); const ntfyTitle = document.getElementById("ntfy-title"); -const ntfyTags = document.getElementById("ntfy-tags"); const ntfyAttach = document.getElementById("ntfy-attach"); const ntfyClickAction = document.getElementById("ntfy-click"); const ntfyButton = document.getElementById("ntfy-button"); @@ -47,12 +46,11 @@ function getPlaceholder() { } // send function -function send(message, title, tags, attachment, click) { +function send(message, title, attachment, click) { const r = new XMLHttpRequest(); r.open("POST", "https://ntfy.ouroboros.group/beep", true); r.setRequestHeader("Content-Type", "text/plain"); r.setRequestHeader("Title", title); - r.setRequestHeader("Tags", tags); r.setRequestHeader("Attach", attachment); r.setRequestHeader("Click", click); r.send(message); diff --git a/astro/src/components/main-page/silly-widgets.astro b/astro/src/components/main-page/silly-widgets.astro index ba7637e..abf2d35 100644 --- a/astro/src/components/main-page/silly-widgets.astro +++ b/astro/src/components/main-page/silly-widgets.astro @@ -23,7 +23,6 @@ -