From 3374856e7e6917608c4e7778697c85accc51d12b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 20 Mar 2024 08:48:41 -0400 Subject: [PATCH] fix: correct the URL for production OpenClimate Signed-off-by: Evan Prodromou --- app/src/services/api.ts | 2 +- k8s/test/cc-test-web-deploy.yml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/src/services/api.ts b/app/src/services/api.ts index 716e930a8..7a2df759b 100644 --- a/app/src/services/api.ts +++ b/app/src/services/api.ts @@ -392,7 +392,7 @@ export const api = createApi({ export const openclimateAPI = createApi({ reducerPath: "openclimateapi", baseQuery: fetchBaseQuery({ - baseUrl: process.env.NEXT_PUBLIC_OPENCLIMATE_API_URL || "https://openclimate.network", + baseUrl: process.env.NEXT_PUBLIC_OPENCLIMATE_API_URL || "https://app.openclimate.network", }), endpoints: (builder) => ({ getOCCity: builder.query({ diff --git a/k8s/test/cc-test-web-deploy.yml b/k8s/test/cc-test-web-deploy.yml index 229c9dda9..f8d38926c 100644 --- a/k8s/test/cc-test-web-deploy.yml +++ b/k8s/test/cc-test-web-deploy.yml @@ -46,10 +46,8 @@ spec: value: "587" - name: GLOBAL_API_URL value: "https://ccglobal-test.openearth.dev" - - name: OPENCLIMATE_API_URL - value: "https://openclimate.openearth.dev" - name: NEXT_PUBLIC_OPENCLIMATE_API_URL - value: "https://openclimate.openearth.dev" + value: "https://app.openclimate.network" resources: limits: memory: "1024Mi"