Skip to content

Commit

Permalink
Update default.blade.php,header错误地放入了body
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
star250 authored Mar 7, 2024
1 parent 6bf5f3d commit 672cd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/unicorn/layouts/default.blade.php
Original file line number Diff line number Diff line change
@@ -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')
Expand Down

0 comments on commit 672cd65

Please sign in to comment.