Move attachmentDisposition to filename.ts

This commit is contained in:
Alan Grainger
2026-10-05 09:21:48 +13:00
parent f8b7776bc4
commit bbc23b6250
4 changed files with 11 additions and 12 deletions
+1 -2
View File
@@ -7,12 +7,11 @@ import {
import { Response } from 'express-serve-static-core'
import { Asset, ImageSize, IncomingShareRequest, SharedLink } from '../types'
import { respondToInvalidRequest } from '../invalidRequestHandler'
import { getFilename, servedMimeFrom } from '../gallery/filename'
import { attachmentDisposition, getFilename, servedMimeFrom } from '../gallery/filename'
import { isVideoAsset, resolveDownloadEndpoint, resolveImageEndpoint } from '../gallery/sizing'
import { pipeline } from 'stream/promises'
import { readableFromWeb } from '../utils/webStream'
import { log } from '../utils/log'
import { attachmentDisposition } from './download'
/**
* Stream an asset from Immich back to the client.