Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/roe.dev. This is the code and content for my personal website, built in Nuxt. roe.dev
Something went wrong. Try again.
TypeScript
at ci/nightly
123456789101112131415export function sendEmail(subject: string, body: string) { return $fetch('https://api.resend.com/email', { method: 'POST', headers: { Authorization: `Bearer ${useRuntimeConfig().resendApiKey}`, }, body: { subject, text: body, from: 'noreply@roe.dev', to: 'daniel@roe.dev', }, })}