We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10a15d0 commit 78f8833Copy full SHA for 78f8833
config/environments/development.rb
@@ -76,7 +76,7 @@
76
# Raise error when a before_action's only/except options reference missing actions
77
config.action_controller.raise_on_missing_callback_actions = true
78
79
- config.hosts << /[a-z0-9\-]+\.ngrok-free\.app/
80
-
81
config.hotwire_livereload.reload_method = :turbo_stream
+
+ config.hosts << ENV['DEV_HOST']
82
end
docker-compose.yml
@@ -30,6 +30,7 @@ services:
30
environment:
31
- REDIS_URL=redis://redis/0
32
- DATABASE_URL=postgres://app:secret@postgres/app_development
33
+ - DEV_HOST=${DEV_HOST}
34
ports: ["3000:3000"]
35
volumes:
36
- .:/rails
0 commit comments