Exif stripping

This commit is contained in:
2026-02-20 17:22:43 +00:00
parent b4d91d5dc0
commit eb1a719fc3
4 changed files with 68 additions and 11 deletions
@@ -255,6 +255,12 @@
// Build URL with reactive page state
const url = new URL(page.url);
// Remove all existing filter params first to avoid stale params
const keysToDelete = Array.from(url.searchParams.keys()).filter((k) => k.startsWith('filter['));
keysToDelete.forEach((k) => url.searchParams.delete(k));
// Add current filters
for (const [cat, val] of Object.entries(selectedFilters)) {
if (val) {
url.searchParams.set(`filter[${cat}]`, val);