[ci] format
This commit is contained in:
parent
ec04553525
commit
5deacfb6c3
2 changed files with 5 additions and 2 deletions
|
@ -109,7 +109,10 @@ export default function assets({
|
|||
format = result.format;
|
||||
}
|
||||
|
||||
res.setHeader('Content-Type', mime.getType(fileURLToPath(filePathURL)) || `image/${format}`);
|
||||
res.setHeader(
|
||||
'Content-Type',
|
||||
mime.getType(fileURLToPath(filePathURL)) || `image/${format}`
|
||||
);
|
||||
res.setHeader('Cache-Control', 'max-age=360000');
|
||||
|
||||
const stream = Readable.from(data);
|
||||
|
|
Loading…
Reference in a new issue