diff --git a/library/think/Request.php b/library/think/Request.php index 2e770a8d..49f39610 100644 --- a/library/think/Request.php +++ b/library/think/Request.php @@ -275,9 +275,6 @@ class Request return $this; } elseif (!$this->domain) { $this->domain = $this->scheme() . '://' . $this->host(); - if (!in_array($this->port(), ['80', '443'])) { - $this->domain .= ':' . $this->port(); - } } return $this->domain; }