Downloaded notes filename change
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user