From 2ab7355a2eeae45f12b59782381d3c3e231f6d09 Mon Sep 17 00:00:00 2001 From: yutent Date: Mon, 4 Jul 2022 16:13:03 +0800 Subject: [PATCH] fixed --- index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ",