mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 21:45:55 +00:00
Merge pull request #221 from beyondcode/analysis-gOJRbw
Apply fixes from StyleCI
This commit is contained in:
@@ -120,7 +120,7 @@ class TunnelMessageController extends Controller
|
|||||||
{
|
{
|
||||||
$request::setTrustedProxies([$controlConnection->socket->remoteAddress, '127.0.0.1'], Request::HEADER_X_FORWARDED_ALL);
|
$request::setTrustedProxies([$controlConnection->socket->remoteAddress, '127.0.0.1'], Request::HEADER_X_FORWARDED_ALL);
|
||||||
|
|
||||||
$host = $controlConnection->serverHost;;
|
$host = $controlConnection->serverHost;
|
||||||
|
|
||||||
if (! $request->isSecure()) {
|
if (! $request->isSecure()) {
|
||||||
$host .= ":{$this->configuration->port()}";
|
$host .= ":{$this->configuration->port()}";
|
||||||
|
|||||||
Reference in New Issue
Block a user