fix
This commit is contained in:
parent
aac5177495
commit
19cefd9718
@ -6,10 +6,6 @@ use Illuminate\Support\Facades\Route;
|
||||
use Visus\Cuid2\Cuid2;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
function is_https()
|
||||
{
|
||||
return request()->secure();
|
||||
}
|
||||
function general_error_handler(\Throwable $e, $that = null, $isJson = false)
|
||||
{
|
||||
try {
|
||||
|
@ -8,6 +8,8 @@
|
||||
<link href="https://api.fonts.coollabs.io/css2?family=Inter&display=swap" rel="stylesheet">
|
||||
@if (request()->secure())
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
@else
|
||||
http {{ request()->secure() }}
|
||||
@endif
|
||||
@env('local')
|
||||
<title>Coolify - localhost</title>
|
||||
|
Loading…
x
Reference in New Issue
Block a user