Skip to content

Commit 5e0748e

Browse files
committed
Switched from a magic variable
1 parent ee2cb2f commit 5e0748e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resource-mapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class ResourceMapper {
7474
if (
7575
contentType &&
7676
!(contentType.includes('text/html') || contentType.includes('*/*')) &&
77-
match === 'index.html'
77+
match === this._indexFilename
7878
) {
7979
match = ''
8080
}

0 commit comments

Comments
 (0)