this was missing?

This commit is contained in:
Kieran 2019-03-29 23:07:36 +08:00
parent 27197a0d89
commit 0f96b26f31

View File

@ -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();