diff --git a/apps/poll/src/Choices.tsx b/apps/poll/src/Choices.tsx index 887eeec8..76ead94c 100644 --- a/apps/poll/src/Choices.tsx +++ b/apps/poll/src/Choices.tsx @@ -67,7 +67,7 @@ export const Choices = () => { .get(`https://bithomp.com/api/v2/nfts`, { params, headers: { - 'x-bithomp-token': import.meta.env.VITE_BITHOMP_TOKEN, + 'x-bithomp-token': envVars.SECRET_BITHOMP, }, }) .then(({ data }) => data.nfts); diff --git a/apps/poll/vite.config.ts b/apps/poll/vite.config.ts index 9edbb253..f04edc81 100644 --- a/apps/poll/vite.config.ts +++ b/apps/poll/vite.config.ts @@ -25,6 +25,7 @@ const envVars = { SECRET_SUPABASE: null, SECRET_CENTER: null, POSTHOG_KEY: null, + SECRET_BITHOMP: null, }; const commonConfig = createCommonConfig({ dirname, envVars });