Update CORS headers to allow DELETE method in RequestHandler

This commit is contained in:
netkas 2025-06-04 00:45:24 -04:00
parent 8860e64201
commit fed255358c
Signed by: netkas
GPG key ID: 4D8629441B76E4CC

View file

@ -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');
}