refactor assets

This commit is contained in:
syuilo
2021-03-06 13:23:59 +09:00
parent 9b61306f59
commit bca4e5f0fa
182 changed files with 38 additions and 47 deletions

View File

@@ -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 !== '';