Skip to content

Commit 31183cc

Browse files
committed
Added support for Spatie's laravel-scp package
1 parent 7d97fba commit 31183cc

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## [0.8.3] - 2019-06-30
4+
### Added
5+
- support for Spatie's `laravel-csp` package.
6+
37
## [0.8.2] - 2019-06-30
48
### Changed
59
- method of checking registered middleware groups to use `hasMiddlewareGroup()`.

resources/views/script.blade.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
@if (function_exists('csp_nonce'))
2+
<script nonce="{{ csp_nonce() }}">
3+
@else
14
<script>
5+
@endif
26
var lastCheck = new Date();
37
var caffeineSendDrip = function () {
48
var ajax = window.XMLHttpRequest

0 commit comments

Comments
 (0)