From f4860c4343c01ab9c452e514e9b13aba76df2383 Mon Sep 17 00:00:00 2001 From: Frank Date: Tue, 13 Feb 2024 14:40:47 +0100 Subject: [PATCH] fix: frontend graphql endpoint --- frontend/Dockerfile | 2 +- frontend/nuxt.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index db02d8a9..1da00f51 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -20,7 +20,7 @@ FROM dependency-base AS production-base COPY frontend /app/frontend COPY api /app/api WORKDIR /app/api -RUN npm ci +RUN yarn install --frozen-lockfile WORKDIR /app/frontend # Set env vars before build diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.ts index ee7d7dff..fdbc8d8b 100644 --- a/frontend/nuxt.config.ts +++ b/frontend/nuxt.config.ts @@ -65,7 +65,7 @@ export default defineNuxtConfig({ 'graphql-client': { clients: { default: { - host: `${API_BASE}/graphql`, + host: `${API_BASE}/drives`, schema: '../api/src/generated/schema.graphql' } }