提交 a73adfa5 编写于 作者: Y yuuji.yaginuma

do not set Action Cable's config when specify `--skip-action-cable` option

Also remove duplicated `config.action_cable.url` config.
上级 d150f59f
......@@ -44,6 +44,9 @@ Rails.application.configure do
# Action Cable endpoint configuration
# config.action_cable.url = 'wss://example.com/cable'
# config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
# Don't mount Action Cable in the main server process.
# config.action_cable.mount_path = nil
<%- end -%>
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
......@@ -91,9 +94,5 @@ Rails.application.configure do
# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false
# Don't mount Action Cable in the main server process.
# config.action_cable.mount_path = nil
# config.action_cable.url = "ws://example.com"
<%- end -%>
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册