Skip to content

Commit 3369619

Browse files
author
Tim Berners-Lee
committed
Also service any content-type with 'json' in it
1 parent b021e5b commit 3369619

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sourcePane.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module.exports = {
2020
for (const t in typeURIs) {
2121
if (t.startsWith(prefix)) return 'Source'
2222
if (t.includes('xml')) return 'XML Source'
23+
if (t.includes('json')) return 'JSON Source' // Like eg application/ld+json
2324
}
2425
return null
2526
},

0 commit comments

Comments
 (0)