Files
CommunitySolidServer/config/http/middleware/handlers/cors.json
2021-06-29 17:43:44 +01:00

27 lines
622 B
JSON

{
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld",
"@graph": [
{
"comment": "Adds all the necessary CORS headers.",
"@id": "urn:solid-server:default:Middleware_Cors",
"@type": "CorsHandler",
"options_methods": [
"GET",
"HEAD",
"OPTIONS",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"options_credentials": true,
"options_exposedHeaders": [
"Accept-Patch",
"Location",
"MS-Author-Via",
"Updates-Via"
]
}
]
}