diff --git a/gtm-architect/App.tsx b/gtm-architect/App.tsx index d49ba120..d2c9e238 100644 --- a/gtm-architect/App.tsx +++ b/gtm-architect/App.tsx @@ -260,7 +260,7 @@ const App: React.FC = () => { }; const callBackend = async (mode: string, data: any) => { - const response = await fetch('/api/gtm', { + const response = await fetch('./api/gtm', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ mode, data })