Skip to content

Commit f29a4ef

Browse files
authored
Merge pull request #21 from solid/service-json
Also service any content-type with 'json' in it
2 parents b021e5b + 3369619 commit f29a4ef

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)