mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Rename IndexConverter to DefaultUiConverter
This commit is contained in:
parent
a07ea5e8b1
commit
4e0c8291ca
@ -3,7 +3,7 @@
|
||||
"@graph": [
|
||||
{
|
||||
"comment": "This value can be used to set a custom handler for index files. See the example file.",
|
||||
"@id": "urn:solid-server:default:IndexConverter",
|
||||
"@id": "urn:solid-server:default:DefaultUiConverter",
|
||||
"@type": "UnsupportedAsyncHandler"
|
||||
}
|
||||
]
|
||||
|
@ -6,7 +6,7 @@
|
||||
"This converter replaces every browser request for text/html with the Databrowser UI (which then in turn loads a Turtle or other representation of the same resource).",
|
||||
"This is useful when you want to serve a UI for every file from the pod."
|
||||
],
|
||||
"@id": "urn:solid-server:default:IndexConverter",
|
||||
"@id": "urn:solid-server:default:DefaultUiConverter",
|
||||
"@type": "ConstantConverter",
|
||||
"contentType": "text/html",
|
||||
"filePath": "./node_modules/mashlib/dist/databrowser.html",
|
||||
|
@ -11,7 +11,7 @@
|
||||
"@id": "urn:solid-server:default:RepresentationConverter",
|
||||
"@type": "WaterfallHandler",
|
||||
"handlers": [
|
||||
{ "@id": "urn:solid-server:default:IndexConverter" },
|
||||
{ "@id": "urn:solid-server:default:DefaultUiConverter" },
|
||||
{
|
||||
"@type": "IfNeededConverter",
|
||||
"comment": "Only continue converting if the requester cannot accept the available content type"
|
||||
|
Loading…
x
Reference in New Issue
Block a user