Change default download filenames to anonymised hash

This commit is contained in:
Alan Grainger
2026-10-08 10:31:35 +13:00
parent e7836b85f7
commit 5cddddd9f7
16 changed files with 328 additions and 83 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ describe('buildAssetMetadata', () => {
})
it('always returns a download filename', () => {
setConfig({})
setConfig({ ipp: { downloadedFilename: 0 } })
const meta = buildAssetMetadata(asset(), share())
// HEIC original served as preview JPEG when downloadOriginalPhoto defaults on
expect(meta.downloadFilename).toMatch(/IMG_1234/)