refactor(chore): replace logo from attachments by url
This commit is contained in:
parent
eadb397847
commit
188ca13c2c
|
@ -13,13 +13,6 @@ export async function send(mail: Mail) {
|
|||
subject: mail.subject,
|
||||
text,
|
||||
html,
|
||||
attachments: [
|
||||
{
|
||||
cid: 'cohabit_logo.svg',
|
||||
path: 'https://cohabit.fr/images/logo.svg',
|
||||
filename: 'cohabit_logo.svg',
|
||||
},
|
||||
...mail.options.attachments.map((path) => ({ path })),
|
||||
],
|
||||
attachments: mail.options.attachments.map((path) => ({ path })),
|
||||
})
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ function Welcome(
|
|||
<Section>
|
||||
<Heading as='h1' style={headingCss}>
|
||||
Bienvenue au<Img
|
||||
src='cid:cohabit_logo.svg'
|
||||
src='https://cohabit.fr/images/logo.svg'
|
||||
alt='FabLab Cohabit'
|
||||
style={imgCss}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue