Files
MySMSAPio/config/cable.yml
2025-10-22 17:22:17 +08:00

14 lines
396 B
YAML

# Use Redis for Action Cable in all environments for consistency with WebSocket communication
development:
adapter: redis
url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
channel_prefix: sms_gateway_development
test:
adapter: test
production:
adapter: redis
url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
channel_prefix: sms_gateway_production