From 2c349d08bd2d6b946f36d7fe9598e22cac393006 Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Fri, 3 Oct 2025 17:27:51 -0700
Subject: move vapid and firebase configs to env vars

---
 site/src/components/NotificationButton.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'site/src/components/NotificationButton.tsx')

diff --git a/site/src/components/NotificationButton.tsx b/site/src/components/NotificationButton.tsx
index fa31cde..0ab0e8e 100644
--- a/site/src/components/NotificationButton.tsx
+++ b/site/src/components/NotificationButton.tsx
@@ -3,8 +3,7 @@ import { messaging, initializeForegroundNotifications } from "../firebase.ts";
 import { getToken, deleteToken } from "firebase/messaging";
 import { getGameTitle } from "../utils.ts";
 
-const VAPID_KEY =
-  "BK7tpLF5Loy8Ew8bKxhTi-vOEJdxJSnu-jPyagWecLdD_SrEAt_OQS7nu0Xu3hR7AQpn0cOmgcdeeQd5zq5-Gyo";
+const VAPID_KEY = import.meta.env.VITE_VAPID_KEY;
 
 interface NotificationButtonProps {
   className?: string;
-- 
cgit v1.2.3

