Send location.kml instead of message.kml for streaming

message.kml is sent when user manually selects a point on the map to
point to a location.
This commit is contained in:
Alexander Krotov
2019-12-30 17:20:46 +01:00
parent b7a2d17e93
commit ea03e4d34a

View File

@@ -894,7 +894,7 @@ impl<'a, 'b> MimeFactory<'a, 'b> {
)
.header((
"Content-Disposition",
"attachment; filename=\"message.kml\"",
"attachment; filename=\"location.kml\"",
))
.body(kml_content),
);