diff --git a/config/environments/development.rb b/config/environments/development.rb index 42304e757..925734721 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -28,6 +28,10 @@ Rails.application.configure do config.cache_store = :null_store end + # Allow accessing the application through a domain so subdomains can be used + config.hosts << "lvh.me" + config.hosts << /.*\.lvh\.me/ + # Don't care if the mailer can't send. config.action_mailer.raise_delivery_errors = false config.action_mailer.default_url_options = { host: "localhost", port: 3000 }