Created
November 24, 2023 02:25
-
-
Save xitarps/45e323ba12d56f676e35865810b9d3fc to your computer and use it in GitHub Desktop.
ngrok rails config(application.rb)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.hosts << /[a-z0-9-]+\.ngrok\.io/ if Rails.env.development? | |
config.hosts << /[a-z0-9-]+\.ngrok-free\.app/ if Rails.env.development? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment