Skip to content

Commit fc02c96

Browse files
authored
Update bin/validate-redirects.ts
1 parent 8e44a87 commit fc02c96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/validate-redirects.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ async function main() {
77
let numUrlsWithFragment = 0;
88
let numDuplicateRedirects = 0;
99
let numNonSlashedRedirects = 0;
10+
11+
const validEndings = ["/", "*", ".xml", ".md", ".json", ".html"];
1012

1113
const redirectSourceUrls: string[] = [];
1214

0 commit comments

Comments
 (0)