From 53a186f807240e69450bcbd967fb01d6ebbfc999 Mon Sep 17 00:00:00 2001 From: BlazingRockStorm Date: Mon, 2 Sep 2024 13:57:34 +0900 Subject: [PATCH] Add config for ngrok --- config/environments/development.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index 6f1e798..f5708e3 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -88,4 +88,8 @@ # Apply autocorrection by RuboCop to files generated by `bin/rails generate`. # config.generators.apply_rubocop_autocorrect_after_generate! + + # Add host for ngrok + config.hosts << /[a-z0-9-.]+\.ngrok\.io/ + config.hosts << /[a-z0-9-.]+\.ngrok-free\.app/ end