diff --git a/src/plugins/vue-apollo.js b/src/plugins/vue-apollo.js index 1810f8d..0b21483 100644 --- a/src/plugins/vue-apollo.js +++ b/src/plugins/vue-apollo.js @@ -12,7 +12,8 @@ Vue.use(VueApollo); const AUTH_TOKEN = "apollo-token"; // Http endpoint -const httpEndpoint = process.env.VUE_APP_GRAPHQL_HTTP || "/graphql"; +const httpEndpoint = + process.env.VUE_APP_GRAPHQL_HTTP || "http://127.0.0.1:8000/graphql"; // Config const defaultOptions = { @@ -49,7 +50,7 @@ const defaultOptions = { // clientState: { resolvers: { ... }, defaults: { ... } } }; const pgGraphql = { - httpEndpoint: "/pgraphql" + httpEndpoint: "http://127.0.0.1:8000/pgraphql" }; // Call this in the Vue app file export function createProvider(options = {}) { diff --git a/src/views/Club.vue b/src/views/Club.vue index 4475933..6653dc5 100644 --- a/src/views/Club.vue +++ b/src/views/Club.vue @@ -1,19 +1,20 @@