mirror of
https://github.com/spliit-app/spliit.git
synced 2026-02-12 02:26:13 +01:00
Fix export file name (Fix #54)
This commit is contained in:
@@ -33,7 +33,7 @@ export async function GET(
|
||||
return NextResponse.json(group, {
|
||||
headers: {
|
||||
'content-type': 'application/json',
|
||||
'content-disposition': `attachment; filename="${group.name}.json"`,
|
||||
'content-disposition': `attachment; filename="Spliit Export.json"`,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user