refactor assets
This commit is contained in:
parent
9b61306f59
commit
bca4e5f0fa
182 changed files with 38 additions and 47 deletions
|
|
@ -8,7 +8,7 @@ export const logger = new Logger('email');
|
|||
export async function sendEmail(to: string, subject: string, html: string, text: string) {
|
||||
const meta = await fetchMeta(true);
|
||||
|
||||
const iconUrl = `${config.url}/assets/mi-white.png`;
|
||||
const iconUrl = `${config.url}/static-assets/mi-white.png`;
|
||||
const emailSettingUrl = `${config.url}/settings/email`;
|
||||
|
||||
const enableAuth = meta.smtpUser != null && meta.smtpUser !== '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue