mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
改进url生成的端口问题
This commit is contained in:
@@ -239,7 +239,7 @@ class Url
|
|||||||
$rootDomain = Config::get('url_domain_root');
|
$rootDomain = Config::get('url_domain_root');
|
||||||
if (true === $domain) {
|
if (true === $domain) {
|
||||||
// 自动判断域名
|
// 自动判断域名
|
||||||
$domain = Config::get('app_host') ?: $request->host(true);
|
$domain = Config::get('app_host') ?: $request->host();
|
||||||
|
|
||||||
$domains = Route::rules('domain');
|
$domains = Route::rules('domain');
|
||||||
if ($domains) {
|
if ($domains) {
|
||||||
|
|||||||
Reference in New Issue
Block a user