Unverified Commit c1d2e847 authored by Nicolas Widart's avatar Nicolas Widart Committed by GitHub

Merge pull request #607 from moebrowne/security/sri-for-3rd-party-assets

Adds SRI For Pusher Asset
parents 0e75e29b 23c327cf
......@@ -90,7 +90,7 @@
<script src="{{ mix('js/app.js') }}"></script>
<?php if (is_module_enabled('Notification')): ?>
<script src="https://js.pusher.com/4.1/pusher.min.js"></script>
<script src="https://js.pusher.com/4.1.0/pusher.min.js" integrity="sha384-e9MoFh6Cw/uluf+NZ6MJwfJ1Dm7UOvJf9oTBxxCYDyStJeeAF0q53ztnEbLLDSQP" crossorigin="anonymous"></script>
<script src="{{ Module::asset('notification:js/pusherNotifications.js') }}"></script>
<script>
$('.notifications-list').pusherNotifications({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment