Vorbereitung für Preflight- und CORS-Abfragen.

This commit is contained in:
2021-04-12 18:46:37 +02:00
parent e29a6dcab9
commit b5af0c5a54
3 changed files with 81 additions and 1 deletions
+3 -1
View File
@@ -84,7 +84,9 @@ class ErrorHandler
json_encode($payload, JSON_UNESCAPED_UNICODE)
);
return $response;
$originAccessControlHandler = new OriginAccessControlHandler();
return $originAccessControlHandler->originAccessControl($request, $response);
}
}