Skip to content

Commit cee72ee

Browse files
authored
fix: Attachment file path (#164)
1 parent c50848b commit cee72ee

File tree

1 file changed

+1
-1
lines changed
  • with-attachments/src/pages/api

1 file changed

+1
-1
lines changed

with-attachments/src/pages/api/send.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const send = async (req: NextApiRequest, res: NextApiResponse) => {
1313
html: '<p>Thanks for the payment</p>',
1414
attachments: [
1515
{
16-
path: 'https://resend.com/docs/sample/invoice.pdf',
16+
path: 'https://resend.com/static/sample/invoice.pdf',
1717
filename: 'sample-invoice.pdf',
1818
},
1919
],

0 commit comments

Comments
 (0)