Skip to content

Commit

Permalink
fix spring beans overriding
Browse files Browse the repository at this point in the history
  • Loading branch information
manolo committed Jan 28, 2025
1 parent 6bc8ff2 commit 88e91ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
spring.profiles.active=@spring.profiles.active@
spring.main.allow-bean-definition-overriding=true

server.compression.enabled=true
server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain,application/javascript,text/css
security.basic.enabled=false
server.tomcat.uri-encoding=UTF-8

spring.jackson.serialization.write_dates_as_timestamps=false
# Comment out if using anything else than H2 (e.g. MySQL or PostgreSQL)
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
Expand All @@ -19,3 +21,4 @@ logging.level.org.atmosphere = warn

# Ensure application is run in Vaadin 14/npm mode
vaadin.compatibilityMode = false

0 comments on commit 88e91ab

Please sign in to comment.