mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 21:41:52 +08:00
fix(server): doc cache makes publish mode updating failed (#6444)
This commit is contained in:
@@ -109,11 +109,6 @@ export class WorkspacesController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
res.setHeader('content-type', 'application/octet-stream');
|
res.setHeader('content-type', 'application/octet-stream');
|
||||||
res.setHeader(
|
|
||||||
'last-modified',
|
|
||||||
new Date(binResponse.timestamp).toUTCString()
|
|
||||||
);
|
|
||||||
res.setHeader('cache-control', 'private, max-age=2592000');
|
|
||||||
res.send(binResponse.binary);
|
res.send(binResponse.binary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user