1 week ago

Routes horizon and websockets

Posted 1 week ago by slickness

I use Horizon and web sockets with Laravel. How can I allow access to the two services for administrators only? Do I just have to create a new middleware for this?


     * Dashboard Routes Middleware
     * These middleware will be assigned to every dashboard route, giving you
     * the chance to add your own middleware to this list or change any of
     * the existing middleware. Or, you can simply stick with this list.
    'middleware' => [

Please sign in or create an account to participate in this conversation.