Merge branch 'refs/heads/clue-httphost'
This commit is contained in:
commit
2085550826
@ -107,7 +107,9 @@ class App {
|
|||||||
$decorated = $controller;
|
$decorated = $controller;
|
||||||
}
|
}
|
||||||
|
|
||||||
$httpHost = $httpHost ?: $this->httpHost;
|
if ($httpHost === null) {
|
||||||
|
$httpHost = $this->httpHost;
|
||||||
|
}
|
||||||
|
|
||||||
$allowedOrigins = array_values($allowedOrigins);
|
$allowedOrigins = array_values($allowedOrigins);
|
||||||
if (0 === count($allowedOrigins)) {
|
if (0 === count($allowedOrigins)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user