优化跳转逻辑;

This commit is contained in:
2022-03-14 08:59:27 +08:00
parent da3debed3e
commit bc399a4782

View File

@@ -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));
}
}
}