mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Do not serve UI on special pages.
Fixes https://github.com/solid/community-server/issues/1034
This commit is contained in:
parent
e1a4ef29b9
commit
8c9887feea
@ -9,7 +9,7 @@
|
||||
"errorHandler": {
|
||||
"comment": "Changes an error into a valid representation to send as a response.",
|
||||
"@type": "ConvertingErrorHandler",
|
||||
"converter": { "@id": "urn:solid-server:default:RepresentationConverter" },
|
||||
"converter": { "@id": "urn:solid-server:default:UiEnabledConverter" },
|
||||
"showStackTrace": { "@id": "urn:solid-server:default:variable:showStackTrace" }
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
"comment": "Converts all outgoing resources based on the preferences.",
|
||||
"@id": "urn:solid-server:default:ResourceStore_Converting",
|
||||
"@type": "RepresentationConvertingStore",
|
||||
"options_outConverter": { "@id": "urn:solid-server:default:RepresentationConverter" }
|
||||
"options_outConverter": { "@id": "urn:solid-server:default:UiEnabledConverter" }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -15,7 +15,6 @@
|
||||
"@id": "urn:solid-server:default:RepresentationConverter",
|
||||
"@type": "WaterfallHandler",
|
||||
"handlers": [
|
||||
{ "@id": "urn:solid-server:default:DefaultUiConverter" },
|
||||
{ "@id": "urn:solid-server:default:MarkdownToHtmlConverter" },
|
||||
{ "@id": "urn:solid-server:default:DynamicJsonToTemplateConverter" },
|
||||
{
|
||||
@ -39,6 +38,16 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"comment": "Converts either to a default UI or to a representation.",
|
||||
"@id": "urn:solid-server:default:UiEnabledConverter",
|
||||
"@type": "WaterfallHandler",
|
||||
"handlers": [
|
||||
{ "@id": "urn:solid-server:default:DefaultUiConverter" },
|
||||
{ "@id": "urn:solid-server:default:RepresentationConverter" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user