From bcc49bc4638cdfddb5e49954b51c98f771cabe82 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Wed, 3 Apr 2024 04:04:00 -0400 Subject: ics --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 8e94590..d22c28d 100644 --- a/app.py +++ b/app.py @@ -130,7 +130,7 @@ async def calendar(state: State, iden: str) -> ASGIStreamingResponse: ics = event.to_ics() f = io.StringIO(ics.serialize()) return ASGIStreamingResponse(iterator=f, media_type='text/plain', headers={ - 'Content-Disposition': 'inline; filename=event.ics', + 'Content-Disposition': 'attachment; filename=event.ics', }) @dataclass -- cgit v1.2.3