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" 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) => {