Skip to content

Commit

Permalink
Merge pull request #145 from pdsinterop/feature/nextcloud26
Browse files Browse the repository at this point in the history
add link to allowed headers
  • Loading branch information
ylebre authored Jan 19, 2024
2 parents 33b0d07 + 56b61bc commit 222cd0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solid/lib/Middleware/SolidCorsMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function __construct(IRequest $request) {

public function afterController($controller, $methodName, Response $response) {
$corsMethods="GET, PUT, POST, OPTIONS, DELETE, PATCH";
$corsAllowedHeaders="*, allow, accept, authorization, content-type, dpop, slug";
$corsAllowedHeaders="*, allow, accept, authorization, content-type, dpop, slug, link";
$corsMaxAge="1728000";
$corsExposeHeaders="Authorization, User, Location, Link, Vary, Last-Modified, ETag, Accept-Patch, Accept-Post, Updates-Via, Allow, WAC-Allow, Content-Length, WWW-Authenticate, MS-Author-Via";
$corsAllowCredentials="true";
Expand Down

0 comments on commit 222cd0e

Please sign in to comment.