From 6abb0e3cd688654afe504cc999cbc366bc5d95ea Mon Sep 17 00:00:00 2001 From: Sam Mason de Caires Date: Thu, 3 Dec 2026 09:56:27 +0000 Subject: [PATCH] fix: hardcode public GraphQL endpoint to https://api.v3.aave.com/graphql Co-Authored-By: Claude Opus 5.5 --- .env.example | 2 -- src/utils/sdkEnvironment.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 26619ea5e6..6f28480710 100644 --- a/.env.example +++ b/.env.example @@ -13,8 +13,6 @@ NEXT_PUBLIC_ENABLE_DEV_PAGES=false NEXT_PUBLIC_API_BASEURL=https://aave-api-v2.aave.com # Aave SDK backend: production | staging | local (optional, defaults to production) NEXT_PUBLIC_BACKEND_ENVIRONMENT= -# Overrides the GraphQL URL of the backend environment above, keeping its other settings (optional) -NEXT_PUBLIC_GRAPHQL_ENDPOINT= NEXT_PUBLIC_TRANSAK_APP_URL=https://global.transak.com NEXT_PUBLIC_TRANSAK_API_URL=https://api.transak.com NEXT_PUBLIC_TRANSAK_API_KEY=799087ea-c2be-44b8-a0fe-56d96b37ee3c diff --git a/src/utils/sdkEnvironment.ts b/src/utils/sdkEnvironment.ts index b2674ee62c..c85286998b 100644 --- a/src/utils/sdkEnvironment.ts +++ b/src/utils/sdkEnvironment.ts @@ -15,7 +15,7 @@ const SDK_ENVIRONMENT_PRESET = (() => { export const SDK_ENVIRONMENT = { ...SDK_ENVIRONMENT_PRESET, - backend: process.env.NEXT_PUBLIC_GRAPHQL_ENDPOINT || SDK_ENVIRONMENT_PRESET.backend, + backend: 'https://api.v3.aave.com/graphql', }; installQueryHashFetch(SDK_ENVIRONMENT.backend);