Skip to content

Commit 2059685

Browse files
committed
one more feedback touchup
1 parent c823da8 commit 2059685

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/environments/development.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858
# Raises error for missing translations.
5959
# config.i18n.raise_on_missing_translations = true
6060

61+
# In development, bypass Rails 6 DNS rebinding attack protection
62+
# to allow access by default hostname, container host, etc.
63+
config.hosts.clear
64+
6165
# Annotate rendered view with file names.
6266
config.action_view.annotate_rendered_view_with_filenames = true
6367

0 commit comments

Comments
 (0)