Update chat view to load Pusher and Echo scripts from local assets instead of external CDN links for improved performance and reliability.

This commit is contained in:
Mekan1206 committed 2026-08-15 19:42:08 +05:00
1 parent 3ce4d17b82
commit cdbad87958
3 files changed
+1694 -2

No files matched your search

+2 -2
View File
@@ -55,8 +55,8 @@
};
</script>
@if (! empty($pusher['key']))
<script src="https://js.pusher.com/8.4.0/pusher.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/laravel-echo@1.16.1/dist/echo.iife.js"></script>
<script src="{{ asset('assets/panel/js/pusher.min.js') }}"></script>
<script src="{{ asset('assets/panel/js/echo.iife.js') }}"></script>
@endif
<script src="{{ asset('assets/panel/js/chat.js') }}"></script>
</body>