Use a very simple nonce to see if Edge stops complaining.

This commit is contained in:
James Cole 2020-01-11 06:15:08 +01:00
parent 5da8b2ec9e
commit 77fa3af87e
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -45,6 +45,7 @@ class SecureHeaders
{
// generate and share nonce.
$nonce = base64_encode(random_bytes(16));
$nonce = 'hithere';
app('view')->share('JS_NONCE', $nonce);
$response = $next($request);