Browse Source

'220011-1'

zory 2 days ago
parent
commit
b9c0ff2dda
1 changed files with 1 additions and 5 deletions
  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();