diff --git a/server/api/notes/download/[sermonId].get.ts b/server/api/notes/download/[sermonId].get.ts index 0580117..e0f3e11 100644 --- a/server/api/notes/download/[sermonId].get.ts +++ b/server/api/notes/download/[sermonId].get.ts @@ -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