diff --git a/index.js b/index.js index ee67649..8242369 100644 --- a/index.js +++ b/index.js @@ -153,7 +153,7 @@ export default class Five { return } - response.set('X-Powered-By', this.get('X-Powered-By') || 'Five.js') + response.set('X-Powered-By', _this.get('X-Powered-By') || 'Five.js') if (fn) { ;(async function next() { diff --git a/package.json b/package.json index e152478..41d5147 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gm5/core", - "version": "1.1.0", + "version": "1.1.1", "type": "module", "description": "Five.js, 一个轻量级的nodejs mvc框架 旨在简单易用, 5分钟即可上手", "author": "yutent ",