mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
Url类改进
This commit is contained in:
@@ -272,7 +272,7 @@ class Url
|
||||
$domain .= '.' . $rootDomain;
|
||||
}
|
||||
}
|
||||
return ($request->isSsl() ? 'https://' : 'http://') . $domain;
|
||||
return ($request->isSsl() || Config::get('is_https') ? 'https://' : 'http://') . $domain;
|
||||
}
|
||||
|
||||
// 解析URL后缀
|
||||
|
||||
Reference in New Issue
Block a user