mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Remove unnecessary Components.js workarounds
This commit is contained in:
parent
225affe42c
commit
b84788e05f
@ -8,12 +8,7 @@
|
|||||||
"comment": "These handlers are called whenever the server is started, and can be used to ensure that all necessary resources for booting are available.",
|
"comment": "These handlers are called whenever the server is started, and can be used to ensure that all necessary resources for booting are available.",
|
||||||
"@id": "urn:solid-server:default:ParallelInitializer",
|
"@id": "urn:solid-server:default:ParallelInitializer",
|
||||||
"@type": "ParallelHandler",
|
"@type": "ParallelHandler",
|
||||||
"handlers": [
|
"handlers": [ ]
|
||||||
{
|
|
||||||
"comment": "This handler is here because having this array empty gives Components.js errors.",
|
|
||||||
"@type": "StaticHandler"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -39,13 +39,6 @@
|
|||||||
"@id": "urn:solid-server:auth:password:InteractionRouteHandler",
|
"@id": "urn:solid-server:auth:password:InteractionRouteHandler",
|
||||||
"@type": "WaterfallHandler",
|
"@type": "WaterfallHandler",
|
||||||
"handlers": [
|
"handlers": [
|
||||||
{
|
|
||||||
"comment": [
|
|
||||||
"This handler is required to prevent Components.js issues with arrays.",
|
|
||||||
"This might be fixed in the next Components.js release after which this can be removed."
|
|
||||||
],
|
|
||||||
"@type": "UnsupportedAsyncHandler"
|
|
||||||
},
|
|
||||||
{ "@id": "urn:solid-server:auth:password:IndexRouteHandler" },
|
{ "@id": "urn:solid-server:auth:password:IndexRouteHandler" },
|
||||||
{ "@id": "urn:solid-server:auth:password:PromptRouteHandler" },
|
{ "@id": "urn:solid-server:auth:password:PromptRouteHandler" },
|
||||||
{ "@id": "urn:solid-server:auth:password:LoginRouteHandler" },
|
{ "@id": "urn:solid-server:auth:password:LoginRouteHandler" },
|
||||||
|
@ -8,13 +8,6 @@
|
|||||||
"@id": "urn:solid-server:auth:password:InteractionRouteHandler",
|
"@id": "urn:solid-server:auth:password:InteractionRouteHandler",
|
||||||
"@type": "WaterfallHandler",
|
"@type": "WaterfallHandler",
|
||||||
"handlers": [
|
"handlers": [
|
||||||
{
|
|
||||||
"comment": [
|
|
||||||
"This handler is required to prevent Components.js issues with arrays.",
|
|
||||||
"This might be fixed in the next Components.js release after which this can be removed."
|
|
||||||
],
|
|
||||||
"@type": "UnsupportedAsyncHandler"
|
|
||||||
},
|
|
||||||
{ "@id": "urn:solid-server:auth:password:RegistrationRouteHandler" }
|
{ "@id": "urn:solid-server:auth:password:RegistrationRouteHandler" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -2,10 +2,7 @@
|
|||||||
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^4.0.0/components/context.jsonld",
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^4.0.0/components/context.jsonld",
|
||||||
"@graph": [
|
"@graph": [
|
||||||
{
|
{
|
||||||
"comment": [
|
"comment": "This will contain references to all the auxiliary strategies (such as the acl one) if they are needed.",
|
||||||
"This will contain references to all the auxiliary strategies (such as the acl one) if they are needed.",
|
|
||||||
"Components.js does not support empty arrays, so this config can only by used if at least one strategy gets added."
|
|
||||||
],
|
|
||||||
"@id": "urn:solid-server:default:AuxiliaryStrategy",
|
"@id": "urn:solid-server:default:AuxiliaryStrategy",
|
||||||
"@type": "RoutingAuxiliaryStrategy",
|
"@type": "RoutingAuxiliaryStrategy",
|
||||||
"sources": [ ]
|
"sources": [ ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user