Skip to content

Commit 0a9d2c8

Browse files
sniff extensionless files as turtle
1 parent f340d5f commit 0a9d2c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v2/src/components/Bookmark.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ class Bookmark extends React.Component {
218218
isMedia(subject) {
219219
// TODO better test for linked data
220220
let isMedia = false
221-
if (subject.match(/.ttl/)) {
221+
if (subject.match(/.ttl/) || subject.match(/\/[^.]*$/) ) {
222222
isMedia = false
223223
} else {
224224
isMedia = true

0 commit comments

Comments
 (0)