summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
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