mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-09-26 02:56:23 +02:00
this was missing?
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user