From 147b7e3a09141ea08010b96285e0d43bca55ede5 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 27 Aug 2025 17:34:29 +0200 Subject: [PATCH] differentiate between local and remote url --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",