Closed aaharu closed 9 months ago
ipx v2.0.0-1
IPX_FS_MAX_AGE=10 npx ipx@next-2 serve --dir ./ # ok! It returns `cache-control`. # curl -I "http://localhost:3000/_/modal.jpg" 2>&1 | grep -i 'cache' # cache-control: max-age=10, public, s-maxage=10 IPX_MAX_AGE=10 npx ipx@next-2 serve --dir ./ # ng. It does not return `cache-control`. # curl -I "http://localhost:3000/_/modal.jpg" 2>&1 | grep -i 'cache'
sourceMeta is not affected by options. https://github.com/unjs/ipx/blob/v2.0.0-1/src/ipx.ts#L105-L119
sourceMeta
options
No response
Thanks for notice.
Environment
ipx v2.0.0-1
Reproduction
Describe the bug
sourceMeta
is not affected byoptions
. https://github.com/unjs/ipx/blob/v2.0.0-1/src/ipx.ts#L105-L119Additional context
No response
Logs
No response