@yumerijs/core 2.0.10 → 2.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/session.js +2 -1
  2. package/package.json +1 -1
package/dist/session.js CHANGED
@@ -350,7 +350,8 @@ class Session {
350
350
  modified: fs_1.default.statSync(path).mtime,
351
351
  etag,
352
352
  maxAge: option.maxAge,
353
- smaxAge: option.smaxAge
353
+ smaxAge: option.smaxAge,
354
+ cacheControl: 'public'
354
355
  });
355
356
  this.body = fs_1.default.readFileSync(path, 'utf-8');
356
357
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yumerijs/core",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "description": "Core module for yumeri",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",