differentiate between local and remote url
This commit is contained in:
parent
51b6397f42
commit
147b7e3a09
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue