Skip to content

Commit dcc9445

Browse files
committed
chore: also handle .txt requests with edge functions
1 parent 0da6ea7 commit dcc9445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netlify/edge-functions/handle-crawler-bots.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ export default async function () {
1616

1717
export const config: Config = {
1818
cache: 'manual',
19-
pattern: '^.*\\.[Pp][Hh][Pp]$',
19+
pattern: '^.*\\.[Pp][Hh][Pp]|[Tt][Xx][Tt]$',
2020
}

0 commit comments

Comments
 (0)