From 7bfb618d93d734c98ea47f76b3cda81c2586bebc Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Sat, 5 Dec 2020 00:34:01 +0100 Subject: [PATCH] wip --- Dockerfile | 1 + app/Client/Http/HttpClient.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9cafe26..5e26204 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,3 +21,4 @@ ENV password=password ENV exposeConfigPath=/src/config/expose.php CMD sed -i "s|username|${username}|g" ${exposeConfigPath} && sed -i "s|password|${password}|g" ${exposeConfigPath} && php expose serve ${domain} --port ${port} --validateAuthTokens +ENTRYPOINT ["/src/expose"] diff --git a/app/Client/Http/HttpClient.php b/app/Client/Http/HttpClient.php index dd48868..efdf653 100644 --- a/app/Client/Http/HttpClient.php +++ b/app/Client/Http/HttpClient.php @@ -66,7 +66,6 @@ protected function passRequestThroughModifiers(RequestInterface $request, ?WebSo protected function createConnector(): Connector { return new Connector($this->loop, [ - 'dns' => '127.0.0.1', 'tls' => [ 'verify_peer' => false, 'verify_peer_name' => false,