Skip to content

Commit 19843ac

Browse files
committed
Document removal of $ with indexes in ResourceMapper
1 parent fe0e456 commit 19843ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/resource-mapper.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ class ResourceMapper {
5656
// If the extension is not correct for the content type, append the correct extension
5757
if (this._getContentTypeByExtension(path) !== contentType) {
5858
// Append a '$', unless we map for the index
59+
// Because the index must _always_ have a proper extension when it is being created
5960
if (!isIndex) {
6061
path += '$'
6162
}

0 commit comments

Comments
 (0)