Skip to content

Commit

Permalink
Merge pull request #18 from texpert/develop
Browse files Browse the repository at this point in the history
Add config.hosts example for Rails >= 6.0.0
  • Loading branch information
texpert authored Feb 19, 2022
2 parents e3ad7e2 + eb1f195 commit 2740a81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 2740a81

Please sign in to comment.