@@ -21,17 +21,17 @@ |
||
| 21 | 21 | |
| 22 | 22 | public function boot(WebsocketsBootloader $ws, EnvironmentInterface $env): void |
| 23 | 23 | { |
| 24 | - if ($env->get('RR_BROADCAST_PATH') === null) { |
|
| 24 | + if ($env->get('RR_BROADCAST_PATH') === null){ |
|
| 25 | 25 | return; |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | $ws->authorizeServer($env->get('WS_SERVER_CALLBACK')); |
| 29 | 29 | |
| 30 | - if ($env->get('WS_TOPIC_CALLBACK') !== null) { |
|
| 30 | + if ($env->get('WS_TOPIC_CALLBACK') !== null){ |
|
| 31 | 31 | $ws->authorizeTopic('topic', $env->get('WS_TOPIC_CALLBACK')); |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | - if ($env->get('WS_TOPIC_WILDCARD_CALLBACK') !== null) { |
|
| 34 | + if ($env->get('WS_TOPIC_WILDCARD_CALLBACK') !== null){ |
|
| 35 | 35 | $ws->authorizeTopic('wildcard.{id}', $env->get('WS_TOPIC_WILDCARD_CALLBACK')); |
| 36 | 36 | } |
| 37 | 37 | } |