Downloaded notes filename change

This commit is contained in:
2025-10-07 10:31:39 -04:00
parent 3faec06186
commit a4aca9c99d

View File

@@ -111,7 +111,7 @@ ${userNotes}
// Set headers for file download
setResponseHeaders(event, {
'Content-Type': 'text/plain; charset=utf-8',
'Content-Disposition': `attachment; filename="sermon-notes-${sermon.slug}.txt"`
'Content-Disposition': `attachment; filename="${sermon.slug}-notes.txt"`
})
return textContent