Merge branch '2.4.x'

Closes gh-25432
This commit is contained in:
Stephane Nicoll 2021-02-25 15:58:51 +01:00
commit 9e3cfc5d7a
1 changed files with 2 additions and 2 deletions

View File

@ -573,9 +573,9 @@ For example, if `spring.config.location` is configured with the value `optional:
. `optional:classpath:custom-config/`
. `optional:file:./custom-config/`
If you prefer to add addition locations, rather than replacing them, you can use `spring.config.additional-location`.
If you prefer to add additional locations, rather than replacing them, you can use `spring.config.additional-location`.
Properties loaded from additional locations can override those in the default locations.
For example, if `spring.config.additional-location` is configured with the value `optional:classpath:/custom-config/,optional:file:./custom-config/`, the complete the complete set of locations considered is:
For example, if `spring.config.additional-location` is configured with the value `optional:classpath:/custom-config/,optional:file:./custom-config/`, the complete set of locations considered is:
. `optional:classpath:/`
. `optional:classpath:/config/`