From 0e2d0efcdaea7d0a1ad672c847bbb33d941e20a6 Mon Sep 17 00:00:00 2001 From: Christophe Roberge Date: Tue, 3 Nov 2026 16:18:50 -0500 Subject: [PATCH] feat: Point voting relay to new backend --- pages/api/governance/vote-relay/[...path].ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/api/governance/vote-relay/[...path].ts b/pages/api/governance/vote-relay/[...path].ts index 53c343b196..d10b585136 100644 --- a/pages/api/governance/vote-relay/[...path].ts +++ b/pages/api/governance/vote-relay/[...path].ts @@ -4,6 +4,8 @@ import { NextApiRequest, NextApiResponse } from 'next'; // The browser never holds the relay's api key: it calls this route, which attaches // the server-side `x-api-key` and forwards to the relay, mirroring `rpc-proxy.ts`. // See governance-v3-cache PR #126 for the relay contract. + +// Testing endpoint swap here const VOTE_RELAY_URL = process.env.VOTE_RELAY_URL; // e.g. https://governance-cache-api.aave.com/relay const VOTE_RELAY_API_KEY = process.env.VOTE_RELAY_API_KEY;