CORS
This commit is contained in:
@ -5,3 +5,7 @@ include_once 'currencies.php';
|
||||
include_once 'values.php';
|
||||
|
||||
$app->get('/', API::class);
|
||||
|
||||
$app->options('/', function ($request, $response, $args) {
|
||||
return $response;
|
||||
});
|
||||
|
Reference in New Issue
Block a user