Skip to content

Commit

Permalink
fix: kmz download in android chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
nrjadkry committed Dec 30, 2024
1 parent fb9c726 commit b96f8dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/waypoints/waypoint_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ async def get_task_waypoint(
kmz_file = wpml.create_wpml(placemarks, outfile)
return FileResponse(
kmz_file,
media_type="application/zip",
media_type="application/vnd.google-earth.kmz",
filename=f"{task_id}_flight_plan.kmz",
)
flight_data = calculate_flight_time_from_placemarks(placemarks)
Expand Down

0 comments on commit b96f8dd

Please sign in to comment.