mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
优化跳转逻辑;
This commit is contained in:
@@ -32,7 +32,7 @@ class BaseController extends AppBaseController
|
|||||||
|
|
||||||
if ($is_jump_https == 1) {
|
if ($is_jump_https == 1) {
|
||||||
if (Request::scheme() != 'https') {
|
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