revoked access to website for coaches, added web-specific tokens
This commit is contained in:
@ -11,7 +11,7 @@ require_once __DIR__ . '/../lib/validate.php';
|
||||
// CORS
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
header('Access-Control-Allow-Methods: GET, POST, PUT, PATCH, DELETE, OPTIONS');
|
||||
header('Access-Control-Allow-Headers: Content-Type, Authorization');
|
||||
header('Access-Control-Allow-Headers: Content-Type, Authorization, X-QDB-Client');
|
||||
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') {
|
||||
http_response_code(204);
|
||||
|
||||
Reference in New Issue
Block a user