remove stray test value (#490)

Co-authored-by: Github Actions <action@github.com>
This commit is contained in:
Thibaut Sardan 2020-10-13 19:00:05 +02:00 committed by GitHub
parent c7c2bafaa7
commit 86234b8e83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,8 +4,7 @@
export default function (pathname: string): boolean {
const prohibitedFiles: RegExp[] = [
/\.xml$/u,
/\.pdf$/u,
/1281/u
/\.pdf$/u
];
return prohibitedFiles.some((file) => {