mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
8be8aff802
commit
de9b85df49
@@ -72,7 +72,7 @@ class TunnelMessageController extends Controller
|
||||
{
|
||||
$serverHost = $this->detectServerHost($request);
|
||||
|
||||
$subdomain = Str::before($request->header('Host'), '.' . $serverHost);
|
||||
$subdomain = Str::before($request->header('Host'), '.'.$serverHost);
|
||||
|
||||
return $subdomain === $request->header('Host') ? null : $subdomain;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user