From a49bc80eb3930436f90606bcbb9f36ef2688946d Mon Sep 17 00:00:00 2001 From: Ahmed Alaa <92916738+AhmedAlaa4611@users.noreply.github.com> Date: Sun, 25 May 2025 12:33:06 +0300 Subject: [PATCH] Use environment variable --- broadcasting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/broadcasting.md b/broadcasting.md index 36ebd35e1b..7b6fe751ab 100644 --- a/broadcasting.md +++ b/broadcasting.md @@ -368,7 +368,7 @@ import Pusher from 'pusher-js'; const options = { broadcaster: 'pusher', - key: 'your-pusher-channels-key' + key: import.meta.env.VITE_PUSHER_APP_KEY } window.Echo = new Echo({