this was missing?
This commit is contained in:
parent
27197a0d89
commit
0f96b26f31
@ -28,7 +28,8 @@
|
||||
public function HandleRequest() : void {
|
||||
if(isset($_SERVER["HTTP_ORIGIN"])) {
|
||||
header("Access-Control-Allow-Origin: " . $_SERVER["HTTP_ORIGIN"]);
|
||||
header("Access-Control-Allow-Method: POST");
|
||||
header("Access-Control-Allow-Method: POST,OPTIONS");
|
||||
header("Access-Control-Allow-Headers: Content-Type");
|
||||
}
|
||||
|
||||
$rsp = new UploadResponse();
|
||||
|
Loading…
Reference in New Issue
Block a user