File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed
Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,6 @@ private static function getAvatar($email)
9393 {
9494 $ hash = md5 (strtolower (trim ($ email )));
9595
96- return 'http ://www.gravatar.com/avatar/ ' . $ hash ;
96+ return 'https ://www.gravatar.com/avatar/ ' . $ hash ;
9797 }
9898}
Original file line number Diff line number Diff line change @@ -17,22 +17,22 @@ Vue.use(Vuetify);
1717Vue . use ( VueRouter ) ;
1818Vue . use ( Vuex ) ;
1919
20- /*
20+ /**
2121 * pusher & echo
22+ * for push notifications
2223 *
2324 */
24-
25- // push notifications
26- window . Pusher . logToConsole = true ;
27- window . pusher = new Pusher ( process . env . MIX_PUSHER_APP_KEY ) ;
28-
29- window . Echo = new Echo ( {
30- broadcaster : 'pusher' ,
31- key : process . env . MIX_PUSHER_APP_KEY ,
32- cluster : process . env . MIX_PUSHER_APP_CLUSTER ,
33- encrypted : true
34- } ) ;
35-
25+ if ( process . env . MIX_PUSHER_APP_KEY )
26+ {
27+ window . Pusher . logToConsole = true ;
28+ window . pusher = new Pusher ( process . env . MIX_PUSHER_APP_KEY ) ;
29+ window . Echo = new Echo ( {
30+ broadcaster : 'pusher' ,
31+ key : process . env . MIX_PUSHER_APP_KEY ,
32+ cluster : process . env . MIX_PUSHER_APP_CLUSTER ,
33+ encrypted : true
34+ } ) ;
35+ }
3636
3737// Vuex store
3838const store = new Vuex . Store ( StoreData ) ;
You can’t perform that action at this time.
0 commit comments