mirror of https://github.com/rails/rails
Mention `environment variable` instead of just `environment`
This commit is contained in:
parent
33800d2330
commit
4cdc93a1e4
|
@ -268,9 +268,9 @@
|
|||
|
||||
*Jose Luis Duran*
|
||||
|
||||
* Deprecate support for using the `HOST` environment to specify the server IP.
|
||||
* Deprecate support for using the `HOST` environment variable to specify the server IP.
|
||||
|
||||
The `BINDING` environment should be used instead.
|
||||
The `BINDING` environment variable should be used instead.
|
||||
|
||||
Fixes #29516.
|
||||
|
||||
|
|
|
@ -221,8 +221,8 @@ module Rails
|
|||
|
||||
if ENV["HOST"] && !ENV["BINDING"]
|
||||
ActiveSupport::Deprecation.warn(<<-MSG.squish)
|
||||
Using the `HOST` environment to specify the IP is deprecated and will be removed in Rails 6.1.
|
||||
Please use `BINDING` environment instead.
|
||||
Using the `HOST` environment variable to specify the IP is deprecated and will be removed in Rails 6.1.
|
||||
Please use `BINDING` environment variable instead.
|
||||
MSG
|
||||
|
||||
return ENV["HOST"]
|
||||
|
|
Loading…
Reference in New Issue