|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/erp.theinteractive.co.in/resources/views/vendor/Chatify/layouts/ |
Upload File : |
<script src="https://js.pusher.com/7.0.3/pusher.min.js"></script>
<script >
// Enable pusher logging - don't include this in production
Pusher.logToConsole = true;
var pusher = new Pusher("{{ config('chatify.pusher.key') }}", {
encrypted: true,
cluster: "{{ config('chatify.pusher.options.cluster') }}",
authEndpoint: '{{route("pusher.auth")}}',
auth: {
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
}
});
</script>
<script src="{{ asset('js/chatify/code.js') }}"></script>
<script>
// Messenger global variable - 0 by default
messenger = "{{ @$id }}";
</script>