1
0
Fork 0
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:
Robin Appelman 2017-07-30 14:51:54 +02:00
commit 309ae17036
54 changed files with 4900 additions and 4106 deletions

View file

@ -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']);