Production cable allow config
This commit is contained in:
parent
61236c2d09
commit
f0d9191ffc
|
@ -62,7 +62,7 @@ WBlog::Application.configure do
|
||||||
# config.assets.precompile += %w( )
|
# config.assets.precompile += %w( )
|
||||||
|
|
||||||
#config.action_cable.url = 'wss://example.com/cable'
|
#config.action_cable.url = 'wss://example.com/cable'
|
||||||
config.action_cable.allowed_request_origins = [ ENV['DOMAIN_NAME'] ]
|
config.action_cable.allowed_request_origins = [ "http://#{ENV['DOMAIN_NAME']}", "https://#{ENV['DOMAIN_NAME']}"]
|
||||||
|
|
||||||
# Ignore bad email addresses and do not raise email delivery errors.
|
# Ignore bad email addresses and do not raise email delivery errors.
|
||||||
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
||||||
|
|
Loading…
Reference in New Issue