Add PATCH and HEAD to the Access-Control-Allow-Methods

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
Vincenzo Scamporlino
2022-08-03 18:25:20 +02:00
parent 9da363e7a8
commit 6f56b6b9de
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ backend:
store: memory
cors:
origin: http://localhost:3000
methods: [GET, POST, PUT, DELETE]
methods: [GET, HEAD, PATCH, POST, PUT, DELETE]
credentials: true
csp:
connect-src: ["'self'", 'http:', 'https:']