Commit edd17c3
Changed files (2)
config
environments
config/environments/development.rb
@@ -59,5 +59,5 @@ Rails.application.configure do
# Uncomment if you wish to allow Action Cable access from any origin.
# config.action_cable.disable_request_forgery_protection = true
- config.hosts << ENV.fetch('NGROK_HOST')
+ config.hosts << /[a-z0-9]+\.ngrok\.io/
end
.env
@@ -1,1 +0,0 @@
-NGROK_HOST=invalid.ngrok.io