Skip to content

Commit aa4c2b0

Browse files
committed
Fix graphql url
1 parent 0166f03 commit aa4c2b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/apollo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default defineNuxtPlugin((nuxtApp) => {
1515
const config = useRuntimeConfig();
1616

1717
const httpLink = createHttpLink({
18-
uri: config.graphqlURL,
18+
uri: config.public.graphqlURL,
1919
});
2020

2121
const middleware = new ApolloLink((operation, forward) => {

0 commit comments

Comments
 (0)