This commit is contained in:
Andras Bacsai
2023-05-26 11:52:03 +02:00
parent 6b2ff63255
commit aac5177495
2 changed files with 7 additions and 0 deletions

View File

@@ -6,6 +6,10 @@ 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 {