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
2026-08-15 19:42:08 +05:00
parent 3ce4d17b82
commit cdbad87958
3 changed files with 1694 additions and 2 deletions

File diff suppressed because it is too large Load Diff

9
public/assets/panel/js/pusher.min.js vendored Normal file

File diff suppressed because one or more lines are too long

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>