From e927ae5de67b8870866473333d18047d8c122d91 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 28 Jul 2025 07:52:51 -0300 Subject: [PATCH] url --- public/widget/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/widget/widget.js b/public/widget/widget.js index 571bd37..fdfe1b4 100644 --- a/public/widget/widget.js +++ b/public/widget/widget.js @@ -3,7 +3,7 @@ document.addEventListener('DOMContentLoaded', async () => { const id = window.location.hostname || "localhost"; console.log("Detected domain ID:", id); - const configUrl = `http://localhost:8000/widget/custom/${id}.json`; + const configUrl = `http://od8n.com/widget/custom/${id}.json`; console.log(configUrl); const response = await fetch(configUrl); if (!response.ok) throw new Error(`Config not found at ${configUrl}`);