rkljw 4 månader sedan
förälder
incheckning
d32b7f9e6c
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      config/autoload/server.php

+ 2 - 2
config/autoload/server.php

@@ -23,8 +23,8 @@ return [
             'port' => 9501,
             'sock_type' => SWOOLE_SOCK_TCP,
             'callbacks' => [
-                Event::ON_REQUEST => [App\Service\Server\StreamServer::class, 'onRequest'],
-//                Event::ON_REQUEST => [Hyperf\HttpServer\Server::class, 'onRequest'],
+//                Event::ON_REQUEST => [App\Service\Server\StreamServer::class, 'onRequest'],
+                Event::ON_REQUEST => [Hyperf\HttpServer\Server::class, 'onRequest'],
             ],
         ],
         [