Skip to content

Commit 4112533

Browse files
committed
Add comment
1 parent 4b4099c commit 4112533

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/helpers/looksLikeASecret.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export function looksLikeASecret(str: string) {
3939
}
4040

4141
// 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
4243
const extension = getFileExtension(str);
4344
if (extension && extension.length > 1 && extension.length < 6) {
4445
return false;

0 commit comments

Comments
 (0)