mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
Add php-cs-fixer
This commit is contained in:
parent
e00e6ece5f
commit
309ae17036
54 changed files with 4900 additions and 4106 deletions
|
|
@ -11,8 +11,8 @@ $container = require __DIR__ . '/init.php';
|
|||
$uploadController = new Controllers\UploadController($container->getUploadProvider());
|
||||
|
||||
Flight::route('/*', function () {
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
return true;
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
return true;
|
||||
});
|
||||
|
||||
Flight::route('/upload', [$uploadController, 'upload']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue