Loading nodejs.module +2 −5 Original line number Diff line number Diff line Loading @@ -278,11 +278,8 @@ function nodejs_add_js_to_page_check() { * Return the path to the socket.io client js. */ function nodejs_get_socketio_js_config($nodejs_config) { $socket_io_config = \Drupal::config('nodejs.config')->get('socket_io'); if (!$socket_io_config['path']) { $socket_io_config['path'] = $nodejs_config['client']['scheme'] . '://' . $nodejs_config['client']['host'] . ':' . $nodejs_config['client']['port'] . '/socket.io/socket.io.js'; } return $socket_io_config; } Loading Loading
nodejs.module +2 −5 Original line number Diff line number Diff line Loading @@ -278,11 +278,8 @@ function nodejs_add_js_to_page_check() { * Return the path to the socket.io client js. */ function nodejs_get_socketio_js_config($nodejs_config) { $socket_io_config = \Drupal::config('nodejs.config')->get('socket_io'); if (!$socket_io_config['path']) { $socket_io_config['path'] = $nodejs_config['client']['scheme'] . '://' . $nodejs_config['client']['host'] . ':' . $nodejs_config['client']['port'] . '/socket.io/socket.io.js'; } return $socket_io_config; } Loading