From eb1f195356ab0d5cdcd0f2e19a2093d5d28b63d6 Mon Sep 17 00:00:00 2001 From: texpert Date: Sat, 19 Feb 2022 23:15:35 +0200 Subject: [PATCH] Add config.hosts example for Rails >= 6.0.0 [skip ci] --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 28ff95e..0d4571c 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,7 @@ end ```ruby config.force_ssl = true if NGROK_ENABLED +config.hosts << '.ngrok.io' if NGROK_ENABLED # for Rails >= 6.0.0 config.action_mailer.default_url_options = { host: NGROK_ENABLED ? NGROK_URL.delete_prefix('https://') : 'myapp.local',