From bb253cc2c12dbe966d47f9fd4278711e443089ee Mon Sep 17 00:00:00 2001 From: Davide Scaini Date: Thu, 16 Apr 2026 18:54:18 +0200 Subject: [PATCH] site: accept gzip MIME types in upload file picker Add application/gzip, application/x-gzip, and .gz to the accept attribute so browsers show .gpx.gz / .fit.gz / .tcx.gz in the picker. Browsers often ignore double-extension filters (.gpx.gz) without the matching MIME type. --- site/src/layouts/Base.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/layouts/Base.astro b/site/src/layouts/Base.astro index ee18dae..d3e81b9 100644 --- a/site/src/layouts/Base.astro +++ b/site/src/layouts/Base.astro @@ -311,7 +311,7 @@ try { class="border-2 border-dashed border-zinc-700 rounded-lg p-8 text-center text-zinc-500 text-sm cursor-pointer hover:border-zinc-500 hover:text-zinc-300 transition-colors" >
Drop FIT, GPX, TCX, or activities.csv
or click to browse
- +