This commit is contained in:
Oliver
2025-07-28 07:54:01 -03:00
parent e927ae5de6
commit d8f7706c33

View File

@@ -3,7 +3,7 @@ document.addEventListener('DOMContentLoaded', async () => {
const id = window.location.hostname || "localhost";
console.log("Detected domain ID:", id);
const configUrl = `http://od8n.com/widget/custom/${id}.json`;
const configUrl = `https://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}`);