Skip to content

Commit c3939d1

Browse files
committed
chore: KTL-2134; fix noindex
1 parent ef3dbb1 commit c3939d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/dist/lib/files/type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export async function getType(url: string, filePath: string): Promise<[FileType,
4040
if ($('meta[http-equiv=refresh]').length)
4141
return ['Redirect', $];
4242

43-
if ($('meta[name=robots][content=noindex]').length)
43+
if ($('meta[name=robots][content*=noindex]').length)
4444
return ['Hidden', $];
4545

4646
if (url === '404.html' || url.match(/404\/(index\.html)?/g)) return ['NotFound', $];

0 commit comments

Comments
 (0)