Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Gorzala committed Mar 31, 2024
1 parent 943a7ea commit 80ef83a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package net.dancier.kikeriki.application;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.thymeleaf.TemplateEngine;
Expand All @@ -13,7 +15,9 @@
@Configuration
public class MailTemplateConfiguration {

public static final String EMAIL_TEMPLATE_ENCODING = "UTF-8";
private final static Logger log = LoggerFactory.getLogger(MailTemplateConfiguration.class);

public static final String EMAIL_TEMPLATE_ENCODING = "UTF-8";

@Bean
public TemplateEngine emailTemplateEngine() {
Expand All @@ -23,6 +27,7 @@ public TemplateEngine emailTemplateEngine() {
}

private ITemplateResolver textTemplateResolver() {
log.info("INIT");
final ClassLoaderTemplateResolver templateResolver = new ClassLoaderTemplateResolver();
templateResolver.setOrder(Integer.valueOf(1));
templateResolver.setResolvablePatterns(Collections.singleton("text/*"));
Expand Down

0 comments on commit 80ef83a

Please sign in to comment.