mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-04 00:24:29 +08:00
优化跳转逻辑;
This commit is contained in:
@@ -32,7 +32,7 @@ class BaseController extends AppBaseController
|
||||
|
||||
if ($is_jump_https == 1) {
|
||||
if (Request::scheme() != 'https') {
|
||||
throw new HttpResponseException(redirect('https://' . $main_domain . '' . $url));
|
||||
throw new HttpResponseException(redirect('https://' . Request::host() . '' . $url));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user