1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-10 07:06:45 +02:00

refactor(cors): remove unused parameter $args

This commit is contained in:
Awilum
2020-08-03 07:53:21 +03:00
parent 59fa6ce930
commit 48c59a28b5

View File

@@ -44,7 +44,7 @@ class Cors
return;
}
$this->app->options('/{routes:.+}', function ($request, $response, $args) {
$this->app->options('/{routes:.+}', function ($request, $response) {
return $response;
});