fix(core): update

This commit is contained in:
Philipp Kunz 2023-03-31 15:26:59 +02:00
parent d7fe947107
commit 62df38d083
3 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@apiglobal/typedserver',
version: '2.0.46',
version: '2.0.47',
description: 'easy serving of static files'
}

View File

@ -140,6 +140,9 @@ export class Server {
res.setHeader('Cross-Origin-Resource-Policy', 'cross-origin');
res.setHeader('Cross-Origin-Embedder-Policy', 'unsafe-none');
res.setHeader('Access-Control-Allow-Origin', '*');
res.setHeader('SERVEZONE_ROUTE', 'LOSSLESS_ORIGIN_CONTAINER');
res.setHeader('Cache-Control', 'no-cache');
res.setHeader('Expires', new Date(Date.now()).toUTCString());
next();
});

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@apiglobal/typedserver',
version: '2.0.46',
version: '2.0.47',
description: 'easy serving of static files'
}