Update default.blade.php,header错误地放入了body

header错误地放入了body,导致浏览器报错:
The Content Security Policy 'upgrade-insecure-requests' was delivered via a <meta> element outside the document's <head>, which is disallowed. The policy has been ignored.
This commit is contained in:
star250 2024-03-06 19:23:31 -05:00 committed by GitHub
parent 6bf5f3d5fd
commit 672cd65938
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_','-',strtolower(app()->getLocale())) }}">
@include('unicorn.layouts._header')
<body>
@include('unicorn.layouts._header')
@include('unicorn.layouts._nav')
@yield('content')
@include('unicorn.layouts._footer')