diff --git a/src/index.ts b/src/index.ts index a70f18e..577156b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -38,7 +38,7 @@ export default defineHook(({ action }, { env }) => { ` const handleMapsEvent = async () => { - const response = await fetch(`${env.PUBLIC_URL}/graphql`, { + const response = await fetch(`${env.LOCAL_URL}/graphql`, { method: "POST", headers: { "Content-Type": "application/json",