We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a34117 commit ae84fc4Copy full SHA for ae84fc4
utils/graphql.ts
@@ -12,7 +12,7 @@ export const initializeGqlClient = () => {
12
13
let apiURL
14
15
- const useLocalApi = useRuntimeConfig().public.NUXT_USE_LOCAL_API as boolean | undefined
+ const useLocalApi = useRuntimeConfig().public.NUXT_USE_LOCAL_API as string | undefined
16
if (useLocalApi) {
17
apiURL = 'http://127.0.0.1:4000'
18
} else {
0 commit comments