Skip to content

Commit ff0859d

Browse files
committed
replace deprecated web_console config
1 parent 06f82ce commit ff0859d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/environments/development.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Allow server to be hosted on any URL
55
config.hosts.clear
66
# Allow better_errors to work in online IDE
7-
config.web_console.whitelisted_ips = "0.0.0.0/0.0.0.0"
7+
config.web_console.allowed_ips = "0.0.0.0/0.0.0.0"
88
BetterErrors::Middleware.allow_ip! "0.0.0.0/0.0.0.0"
99
# Auto-connect to database when rails console opens
1010
console do

0 commit comments

Comments
 (0)