We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b4099c commit 4112533Copy full SHA for 4112533
library/helpers/looksLikeASecret.ts
@@ -39,6 +39,7 @@ export function looksLikeASecret(str: string) {
39
}
40
41
// Ignore static assests with random file names, e.g. index.BRaz9DSe.css"
42
+ // The function shouldDiscoverRoutes already checks for this, but it's executed after this function, so the route would already be /asset/:secret
43
const extension = getFileExtension(str);
44
if (extension && extension.length > 1 && extension.length < 6) {
45
return false;
0 commit comments