enable the cors middleware

This commit is contained in:
Rev 2021-10-10 16:26:07 +09:00
parent 8c88914e8b
commit f2d685ad48

View File

@ -72,9 +72,9 @@ $app->configure('app');
|
*/
// $app->middleware([
// App\Http\Middleware\ExampleMiddleware::class
// ]);
$app->middleware([
Fruitcake\Cors\HandleCors::class,
]);
// $app->routeMiddleware([
// 'auth' => App\Http\Middleware\Authenticate::class,