|
...
|
...
|
@@ -250,10 +250,12 @@ class HtmlLanguageCollect extends Command |
|
|
|
$path = $arr['path'] ?? '';
|
|
|
|
$query = $arr['query'] ?? '';
|
|
|
|
|
|
|
|
$path_arr = explode('.', $path);
|
|
|
|
if (
|
|
|
|
(empty($host) || $host == $web_url_domain || $host == $home_url)
|
|
|
|
&& $path
|
|
|
|
&& (strpos($path, '.') !== false)
|
|
|
|
&& (end($path_arr) != 'html')
|
|
|
|
) {
|
|
|
|
$source = CollectSource::where('project_id', $project_id)->where('origin', $url)->first();
|
|
|
|
if (!$source) {
|
...
|
...
|
|