Skip to content

Commit

Permalink
Add possibilities to add development hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagemaru committed Jan 19, 2024
1 parent 3f06189 commit 1eca422
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
# Enable server timing
config.server_timing = true

config.hosts = [
"127.0.0.1",
"localhost",
".local",
ENV["RAILS_HOSTS"]
]


# Enable/disable caching. By default caching is disabled.
# Run rails dev:cache to toggle caching.
Expand Down

0 comments on commit 1eca422

Please sign in to comment.