From ca8f1474f3aa7313866bf66ef8551e9057432c73 Mon Sep 17 00:00:00 2001 From: Rob Moffat Date: Wed, 14 Feb 2024 09:58:27 +0000 Subject: [PATCH] Fix for #342 --- .../teams/templating/thymeleaf/ThymeleafEngineConfig.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/teams/teams-chat-workflow-spring-boot-starter/src/main/java/org/finos/springbot/teams/templating/thymeleaf/ThymeleafEngineConfig.java b/libs/teams/teams-chat-workflow-spring-boot-starter/src/main/java/org/finos/springbot/teams/templating/thymeleaf/ThymeleafEngineConfig.java index ff4809e3..63826355 100644 --- a/libs/teams/teams-chat-workflow-spring-boot-starter/src/main/java/org/finos/springbot/teams/templating/thymeleaf/ThymeleafEngineConfig.java +++ b/libs/teams/teams-chat-workflow-spring-boot-starter/src/main/java/org/finos/springbot/teams/templating/thymeleaf/ThymeleafEngineConfig.java @@ -7,6 +7,7 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.Profile; import org.thymeleaf.dialect.IDialect; import org.thymeleaf.spring5.ISpringTemplateEngine; import org.thymeleaf.spring5.SpringTemplateEngine; @@ -14,6 +15,7 @@ @Configuration @EnableConfigurationProperties(ThymeleafProperties.class) +@Profile("teams") public class ThymeleafEngineConfig { /**