This commit is contained in:
Oliver
2025-07-28 07:52:51 -03:00
parent 8d7cc60518
commit e927ae5de6

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://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}`);