mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Use asynchandler library for handlers
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
{
|
||||
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
|
||||
"@context": [
|
||||
"https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld",
|
||||
"https://linkedsoftwaredependencies.org/bundles/npm/asynchronous-handlers/^1.0.0/components/context.jsonld"
|
||||
],
|
||||
"@graph": [
|
||||
{
|
||||
"@id": "urn:solid-server:default:OperationHandler",
|
||||
"@type": "WaterfallHandler",
|
||||
"@type": "StatusWaterfallHandler",
|
||||
"handlers": [
|
||||
{
|
||||
"@type": "GetOperationHandler",
|
||||
@@ -34,7 +37,11 @@
|
||||
},
|
||||
{
|
||||
"@type": "StaticThrowHandler",
|
||||
"error": { "@type": "MethodNotAllowedHttpError" }
|
||||
"onlyHandle": true,
|
||||
"factory": {
|
||||
"@type": "ClassErrorFactory",
|
||||
"error": { "@type": "MethodNotAllowedHttpError" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user