Skip to content

Commit 56b61bc

Browse files
committed
add link to allowed headers
1 parent c4556a7 commit 56b61bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solid/lib/Middleware/SolidCorsMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function __construct(IRequest $request) {
1515

1616
public function afterController($controller, $methodName, Response $response) {
1717
$corsMethods="GET, PUT, POST, OPTIONS, DELETE, PATCH";
18-
$corsAllowedHeaders="*, allow, accept, authorization, content-type, dpop, slug";
18+
$corsAllowedHeaders="*, allow, accept, authorization, content-type, dpop, slug, link";
1919
$corsMaxAge="1728000";
2020
$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";
2121
$corsAllowCredentials="true";

0 commit comments

Comments
 (0)