Update CORS headers to allow DELETE method in RequestHandler
This commit is contained in:
parent
8860e64201
commit
fed255358c
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@
|
|||
{
|
||||
header('Content-Type: application/json; charset=utf-8');
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
header('Access-Control-Allow-Methods: POST, PUT, GET');
|
||||
header('Access-Control-Allow-Methods: POST, PUT, GET, DELETE');
|
||||
header('Access-Control-Allow-Headers: Content-Type, Authorization');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue