Skip to content

Commit

Permalink
Make the path of the config directory better understandable
Browse files Browse the repository at this point in the history
Currently, the documentation relates to the subdirectory for external
configurations as `/config`. Read as UNIX path, the leading slash
could be read as reference to the root directory `/`.

This commit updates the documentation to use 'config/' instead.

See gh-32224
  • Loading branch information
obfischer authored and snicoll committed Sep 10, 2022
1 parent 5cb23ae commit 6e4e765
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -108,8 +108,8 @@ Spring Boot will automatically find and load `application.properties` and `appli
.. The classpath `/config` package
. From the current directory
.. The current directory
.. The `/config` subdirectory in the current directory
.. Immediate child directories of the `/config` subdirectory
.. The `config/` subdirectory in the current directory
.. Immediate child directories of the `config/` subdirectory

The list is ordered by precedence (with values from lower items overriding earlier ones).
Documents from the loaded files are added as `PropertySources` to the Spring `Environment`.
Expand Down

0 comments on commit 6e4e765

Please sign in to comment.