differentiate between local and remote url

This commit is contained in:
nico 2025-08-27 17:34:29 +02:00
parent 51b6397f42
commit 147b7e3a09
Signed by: Nicolas
SSH key fingerprint: SHA256:ELi8eDeNLl5PTn64G+o2Kx5+XVDfHF5um2tZigfwWkM

View file

@ -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",