Skip to content

Commit c2383c8

Browse files
committed
🎨 updated request
1 parent 2c3cc40 commit c2383c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Request.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ public static function getPathInfo()
402402
public static function getUrl()
403403
{
404404
$url = static::getScheme() . '://' . static::getHost();
405+
405406
if ((static::getScheme() === 'https' && static::getPort() !== 443) || (static::getScheme() === 'http' && static::getPort() !== 80)) {
406407
$url .= ":" . static::getPort();
407408
}

0 commit comments

Comments
 (0)