Browse Source

use mix env variables

Taylor Otwell 6 years ago
parent
commit
224f9949c7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      resources/assets/js/bootstrap.js

+ 2 - 2
resources/assets/js/bootstrap.js

@@ -50,7 +50,7 @@ if (token) {
 
 // window.Echo = new Echo({
 //     broadcaster: 'pusher',
-//     key: 'your-pusher-key',
-//     cluster: 'mt1',
+//     key: process.env.MIX_PUSHER_APP_KEY,
+//     cluster: process.env.MIX_PUSHER_APP_CLUSTER,
 //     encrypted: true
 // });