From 50089f240247f4a019a3a3e39770295655377a32 Mon Sep 17 00:00:00 2001 From: serefyarar Date: Sun, 8 Sep 2024 12:34:13 -0400 Subject: [PATCH] iterate --- web-app/Dockerfile | 2 +- web-app/src/app/notifications/page.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web-app/Dockerfile b/web-app/Dockerfile index 03b1db27..51f77e98 100644 --- a/web-app/Dockerfile +++ b/web-app/Dockerfile @@ -9,7 +9,7 @@ ARG INFURA_API_KEY ENV INFURA_API_KEY=$INFURA_API_KEY ARG MAGICBELL_API_KEY -ENV MAGICBELL_API_KEY=$MAGICBELL_API_KEY +ENV NEXT_PUBLIC_MAGICBELL_API_KEY=$MAGICBELL_API_KEY COPY . . RUN yarn diff --git a/web-app/src/app/notifications/page.tsx b/web-app/src/app/notifications/page.tsx index 887a7b41..ea33aa3b 100644 --- a/web-app/src/app/notifications/page.tsx +++ b/web-app/src/app/notifications/page.tsx @@ -35,7 +35,7 @@ const Notifications: NextPage = () => { console.log(profile); const webPushClient = new WebPushClient({ - apiKey: process.env.MAGICBELL_API_KEY || "", + apiKey: process.env.NEXT_PUBLIC_MAGICBELL_API_KEY || "", userExternalId: profile?.id, userHmac: profile.hmac!, serviceWorkerPath: "/sw.js",