diff --git a/index.html b/index.html
index f20efe9..f494ae9 100644
--- a/index.html
+++ b/index.html
@@ -214,9 +214,10 @@
let backendUrl;
try {
const configModule = await import('/js/config.js');
- backendUrl = configModule.BACKEND_URL || 'https://webpush.virtonline.eu';
+ backendUrl = configModule.BACKEND_URL;
} catch (error) {
- backendUrl = 'https://webpush.virtonline.eu';
+ output.textContent = 'Failed to load backend URL. Please check configuration.\n';
+ return;
}
const webhookUrl = `${backendUrl}/webhook/${action}`;
@@ -279,4 +280,4 @@