Skip to content

Commit

Permalink
fix: correct the URL for production OpenClimate
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Prodromou <[email protected]>
  • Loading branch information
evanp committed Mar 20, 2024
1 parent a7273fc commit 3374856
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/src/services/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<any, string>({
Expand Down
4 changes: 1 addition & 3 deletions k8s/test/cc-test-web-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3374856

Please sign in to comment.