diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php index 30774be23..57fa14c27 100644 --- a/bootstrap/helpers/shared.php +++ b/bootstrap/helpers/shared.php @@ -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 { diff --git a/resources/views/components/layout.blade.php b/resources/views/components/layout.blade.php index 0e3fcb53f..e8af85645 100644 --- a/resources/views/components/layout.blade.php +++ b/resources/views/components/layout.blade.php @@ -8,6 +8,8 @@ @if (request()->secure()) + @else + http {{ request()->secure() }} @endif @env('local') Coolify - localhost