This commit is contained in:
Andras Bacsai 2023-12-11 19:39:27 +01:00
parent 8a80dbd5d8
commit a19a58338c

View File

@ -6,6 +6,7 @@
use Illuminate\Database\Eloquent\Casts\Attribute;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Request;
use Spatie\Url\Url;
@ -38,6 +39,8 @@ public static function realtimePort()
return $envDefined;
}
$url = Url::fromString(Request::getSchemeAndHttpHost());
Log::info(Request::getSchemeAndHttpHost());
Log::info($url);
$scheme = $url->getScheme();
ray($url);
$port = $url->getPort();