@itrocks/framework 0.6.2 → 0.6.3

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/cjs/main.js +3 -0
  2. package/package.json +1 -1
package/cjs/main.js CHANGED
@@ -71,11 +71,14 @@ async function run() {
71
71
  cookie: config_1.config.session.cookie,
72
72
  execute: request => execute(new action_request_2.Request(request)),
73
73
  favicon: config_1.config.container?.favicon ?? (0, node_path_2.normalize)((0, node_path_1.join)(__dirname, '../favicon.png')),
74
+ fileSize: config_1.config.server.fileSize,
74
75
  frontScripts: template_1.frontScripts,
76
+ headers: config_1.config.server.headers,
75
77
  host: config_1.config.server.host,
76
78
  manifest: config_1.config.container?.manifest,
77
79
  port: config_1.config.server.port,
78
80
  rolling: config_1.config.session.rolling,
81
+ sameOrigin: config_1.config.server.sameOrigin,
79
82
  scriptCalls: ['loadCss', 'loadScript'],
80
83
  secret: config_1.config.session.secret ?? config_1.config.secret ?? ephemeralSessionSecret,
81
84
  secure: config_1.config.server.secure ?? 'auto',
package/package.json CHANGED
@@ -103,5 +103,5 @@
103
103
  "build:front": "tsc -p src/front/tsconfig.json && node -e \"const fs=require('node:fs');for(const file of fs.readdirSync('.').filter(file=>file.endsWith('.js')||file.endsWith('.d.ts')))fs.writeFileSync(file,fs.readFileSync(file,'utf8').replaceAll('../../',''))\"",
104
104
  "test": "npm run build && node --test test/*.test.js"
105
105
  },
106
- "version": "0.6.2"
106
+ "version": "0.6.3"
107
107
  }