diff options
-rw-r--r-- | app/news.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/news.php b/app/news.php index 85324493e..18891f2c8 100644 --- a/app/news.php +++ b/app/news.php @@ -374,7 +374,7 @@ class News extends App { ); }); - $container->registerMiddleWare($container['CORSMiddleware']); + $container->registerMiddleWare('CORSMiddleware'); } } |