Skip to content

Commit

Permalink
fix: Fix FileNotFoundException in the mail path (#2619)
Browse files Browse the repository at this point in the history
  • Loading branch information
livk-cloud committed Jul 21, 2023
1 parent 58d7067 commit 3b5263d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public class MailNotifier extends AbstractStatusChangeNotifier {
/**
* Thymleaf template for mail
*/
private String template = "classpath:/META-INF/spring-boot-admin-server/mail/status-changed.html";
private String template = "META-INF/spring-boot-admin-server/mail/status-changed.html";

public MailNotifier(JavaMailSender mailSender, InstanceRepository repository, TemplateEngine templateEngine) {
super(repository);
Expand Down

0 comments on commit 3b5263d

Please sign in to comment.