diff options
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/actioncable.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/initializers/actioncable.rb b/config/initializers/actioncable.rb new file mode 100644 index 00000000000..ed96f965150 --- /dev/null +++ b/config/initializers/actioncable.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +Rails.application.configure do + # Prevents the default engine from being mounted because + # we're running ActionCable as a standalone server + config.action_cable.mount_path = nil + config.action_cable.url = Gitlab::Utils.append_path(Gitlab.config.gitlab.relative_url_root, '/-/cable') +end |