Skip to content

Commit b5ef317

Browse files
committed
Root route now returns text/turtle unless requested otherwise
1 parent 530c76a commit b5ef317

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
@@ -73,7 +73,7 @@ class ResourceMapper {
7373
// Do not match with html if the content type won't allow it
7474
if (
7575
contentType &&
76-
!(contentType.includes('text/html') || contentType.includes('*/*')) &&
76+
!contentType.includes('text/html') &&
7777
match === this._indexFilename
7878
) {
7979
match = ''

0 commit comments

Comments
 (0)