chore: use config() instead of env()

This commit is contained in:
Phan An 2021-01-10 22:36:24 +01:00
parent 79ceed0820
commit 6f05f8ddeb

View file

@ -4,6 +4,6 @@
Unfortunately, can't get it to work for now :( Unfortunately, can't get it to work for now :(
--}} --}}
window.BASE_URL = "{{ asset('') }}"; window.BASE_URL = "{{ asset('') }}";
window.PUSHER_APP_KEY = "{{ env('PUSHER_APP_KEY') }}"; window.PUSHER_APP_KEY = "{{ config('broadcasting.connections.pusher.key') }}";
window.PUSHER_APP_CLUSTER = "{{ env('PUSHER_APP_CLUSTER') }}"; window.PUSHER_APP_CLUSTER = "{{ config('broadcasting.connections.pusher.options.cluster') }}";
</script> </script>