add multiplex
This commit is contained in:
parent
5010a989e1
commit
deba46e4be
2 changed files with 21 additions and 2 deletions
|
@ -173,7 +173,7 @@ export class LocalFiles {
|
|||
// metadata.common.picture[0].data.toString('base64')
|
||||
|
||||
res.setHeader('Cache-Control', 'public, max-age=31536000');
|
||||
res.setHeader('Expires', new Date(Date.now() + 31536000).toUTCString());
|
||||
res.setHeader('Expires', new Date(Date.now() + 31536000000).toUTCString());
|
||||
res.setHeader('Content-Type', 'image/jpeg');
|
||||
|
||||
let data =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue