Fix message not being loaded, when no SPRING_MESSAGES_BASENAME is set.

Otherwise for example the welcome screen shows "??welcome_en_US??"
This commit is contained in:
Johannes Schnatterer 2021-08-10 16:23:37 +02:00
parent 54c506a6a3
commit 5904ceaa5e
No known key found for this signature in database
GPG key ID: 1E32F54EDA5F06AA

View file

@ -11,7 +11,7 @@ spring.jpa.hibernate.ddl-auto=none
spring.jpa.open-in-view=false
# Internationalization
spring.messages.basename=messages/messages
spring.messages.basename=classpath:/messages/messages
# Actuator
management.endpoints.web.exposure.include=*