From a20d466bd0c501210e20faa1d15c1dc7519be007 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 7 Apr 2024 20:14:45 +0300 Subject: [PATCH] fix resolved host request --- composer.json | 2 +- src/cli/document/crawl.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index fee34ef..0c21e19 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "manticoresoftware/manticoresearch-php": "^3.1", "yggverse/ftp": "^1.0", "yggverse/net": "^1.7", - "yggverse/gemini": "^0.6", + "yggverse/gemini": "^0.7", "yggverse/yo-tools": "dev-main" } } diff --git a/src/cli/document/crawl.php b/src/cli/document/crawl.php index 1f022d7..ac86420 100644 --- a/src/cli/document/crawl.php +++ b/src/cli/document/crawl.php @@ -356,6 +356,7 @@ foreach($index->search('') // Prepare remote request $request = new \Yggverse\Gemini\Client\Request( + $base->get(), $address->get() );