mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Mention environment variable
instead of just environment
This commit is contained in:
parent
33800d2330
commit
4cdc93a1e4
2 changed files with 4 additions and 4 deletions
|
@ -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 a new issue