We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1bacc2 commit 53b1a61Copy full SHA for 53b1a61
routes/findFile.js
@@ -20,7 +20,7 @@ module.exports = {
20
} else {
21
filename = filename.replace('jsonFile', '');
22
if (path.extname(filename) == this.extJson) {
23
- if (filename.includes(search)) {
+ if (filename.toLowerCase().indexOf(search.toLowerCase()) > -1) {
24
fileNames.push(filename);
25
}
26
0 commit comments