Skip to content

Commit

Permalink
Merge branch 'master' of github.com:top-think/think-multi-app
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/Url.php
  • Loading branch information
liu21st committed Nov 25, 2024
2 parents e93c94e + 46df2e8 commit f93c604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Url.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function build(): string
throw new \InvalidArgumentException('route name not exists:' . $name);
} else {
// 检测URL绑定
$bind = (string)$this->route->getDomainBind($domain && is_string($domain) ? $domain : null);
$bind = (string) $this->route->getDomainBind($domain && is_string($domain) ? $domain : null);

if ($bind && 0 === strpos($url, $bind)) {
$url = substr($url, strlen($bind) + 1);
Expand Down

0 comments on commit f93c604

Please sign in to comment.