From 0166f03c26d79a7d8c7f8f8b7d80b6a3472e9b5f Mon Sep 17 00:00:00 2001 From: w3bdesign <45217974+w3bdesign@users.noreply.github.com> Date: Thu, 8 Jun 2023 05:20:12 +0200 Subject: [PATCH 1/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 01715ec4..c16b5234 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "@formkit/nuxt": "^1.0.0-beta.9-f64c966", "@nuxtjs/algolia": "^1.7.0", "@pinia/nuxt": "^0.4.11", - "pinia": "^2.1.3", + "pinia": "^2.1.3", "uid": "^2.0.2", "vee-validate": "^4.9.6", "yup": "^1.2.0" From aa4c2b0a1bfd3d436a72a35eb2ac34d7ddf4f51d Mon Sep 17 00:00:00 2001 From: w3bdesign <45217974+w3bdesign@users.noreply.github.com> Date: Thu, 8 Jun 2023 05:41:15 +0200 Subject: [PATCH 2/2] Fix graphql url --- plugins/apollo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/apollo.js b/plugins/apollo.js index 29599930..b3d6bbcc 100644 --- a/plugins/apollo.js +++ b/plugins/apollo.js @@ -15,7 +15,7 @@ export default defineNuxtPlugin((nuxtApp) => { const config = useRuntimeConfig(); const httpLink = createHttpLink({ - uri: config.graphqlURL, + uri: config.public.graphqlURL, }); const middleware = new ApolloLink((operation, forward) => {