Skip to content

Commit efdc1a9

Browse files
sveneldsoyuka
andauthored
Update src/Server/Transport/Http/Middleware/CorsMiddleware.php
Co-authored-by: Antoine Bluchet <soyuka@users.noreply.github.com>
1 parent ddf10bb commit efdc1a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Server/Transport/Http/Middleware/CorsMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ final class CorsMiddleware implements MiddlewareInterface
4949
*/
5050
public function __construct(
5151
private readonly array $allowedOrigins = [],
52-
array $allowedMethods = ['GET', 'POST', 'DELETE', 'OPTIONS'],
52+
array $allowedMethods = ['GET', 'POST', 'DELETE'],
5353
array $allowedHeaders = [
5454
'Accept',
5555
'Authorization',

0 commit comments

Comments
 (0)