Make server configurable when sharing files. Fix react/http compatibility issues

This commit is contained in:
Marcel Pociot
2021-05-19 11:35:27 +02:00
parent 60af8bce19
commit 44dca53687
4 changed files with 11 additions and 6 deletions

View File

@@ -74,6 +74,7 @@ class HttpClient
protected function createConnector(): Connector
{
return new Connector($this->loop, [
'dns' => config('expose.dns', '127.0.0.1'),
'tls' => [
'verify_peer' => false,
'verify_peer_name' => false,