Files
CommunitySolidServer/config/http/middleware/handlers/cors.json
2022-02-23 11:09:41 +01:00

31 lines
700 B
JSON

{
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^3.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",
"ETag",
"Last-Modified",
"Link",
"Location",
"MS-Author-Via",
"Updates-Via",
"WAC-Allow"
]
}
]
}