Bladeren bron

'220011-1'

zory 5 dagen geleden
bovenliggende
commit
b9c0ff2dda
1 gewijzigde bestanden met toevoegingen van 1 en 5 verwijderingen
  1. 1 5
      config/plugin/linfly/annotation/route.php

+ 1 - 5
config/plugin/linfly/annotation/route.php

@@ -11,11 +11,7 @@ declare (strict_types=1);
 namespace LinFly\Annotation\Handle;
 
 use LinFly\Annotation\Bootstrap\AnnotationBootstrap;
-use Webman\Route;
-// 匹配所有options路由
-Route::options('[{path:.+}]', function (){
-    return response('',204);
-});
+
 
 if (!AnnotationBootstrap::isIgnoreProcess()) {
     RouteAnnotationHandle::createRoute();