mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
fix: fixed emails not being able to load the template
This commit is contained in:
parent
ee3bf10421
commit
6b49d9bc71
1 changed files with 2 additions and 4 deletions
|
@ -13,11 +13,9 @@ namespace Ombi.Notifications.Templates
|
|||
{
|
||||
if (string.IsNullOrEmpty(_templateLocation))
|
||||
{
|
||||
#if DEBUG
|
||||
_templateLocation = Path.Combine(Directory.GetCurrentDirectory(), "bin", "Debug", "net6.0", "Templates", "NewsletterTemplate.html");
|
||||
#else
|
||||
//_templateLocation = Path.Combine(Directory.GetCurrentDirectory(), "bin", "Debug", "net6.0", "Templates", "NewsletterTemplate.html");
|
||||
_templateLocation = Path.Combine(Directory.GetCurrentDirectory(), "Templates", "NewsletterTemplate.html");
|
||||
#endif
|
||||
|
||||
}
|
||||
return _templateLocation;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue