mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-04-08 12:38:00 +02:00
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…
x
Reference in New Issue
Block a user