This commit is contained in:
cpu
2025-03-31 01:31:33 +02:00
parent 51a1be22d2
commit 339ef0482a
3 changed files with 1 additions and 6 deletions

View File

@@ -154,8 +154,6 @@ async function sendSubscriptionToServer(subscription, buttonId) {
try {
// Add support for handling CORS preflight with credentials
console.log("BACKEND_URL Key: " + getBackendUrl());
console.log("FLIC_BUTTON_ID Key: " + FLIC_BUTTON_ID);
const response = await fetch(`${getBackendUrl()}/subscribe`, {
method: 'POST',
body: JSON.stringify({ button_id: buttonId, subscription: subscription }),