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
The current 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 `/`. Therefore
I would suggest to use `./config` to make it a little bit more
understandable.
This is of course not a major issue, but IMHO makes it a little
bit more understandable.
  • Loading branch information
obfischer committed Sep 9, 2022
1 parent 95e62b7 commit 2863c4e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -105,8 +105,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 2863c4e

Please sign in to comment.