Merge pull request #29931 from UbaidurRehman1

* pr/29931:
  Clarify that any property of the environment can be used in a banner

Closes gh-29931
This commit is contained in:
Stephane Nicoll 2022-02-22 08:30:21 +01:00
commit 95d5a5159f
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ If the file has an encoding other than UTF-8, you can set `spring.banner.charset
In addition to a text file, you can also add a `banner.gif`, `banner.jpg`, or `banner.png` image file to your classpath or set the configprop:spring.banner.image.location[] property.
Images are converted into an ASCII art representation and printed above any text banner.
Inside your `banner.txt` file, you can use any of the following placeholders:
Inside your `banner.txt` file, you can use any key available in the `Environment` as well as any of the following placeholders:
.Banner variables
|===