q-koa 12.6.3 → 12.6.5

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.
package/core/app.js CHANGED
@@ -145,7 +145,7 @@ class APP {
145
145
 
146
146
  if (
147
147
  ctx.request.header['user-agent'] &&
148
- ctx.request.header['user-agent'].startsWith('Tencent Security')
148
+ ctx.request.header['user-agent'].includes('Tencent Security')
149
149
  ) {
150
150
  return ctx.ERROR('error')
151
151
  }
@@ -15,7 +15,7 @@ module.exports = {
15
15
  width: 200,
16
16
  },
17
17
  ],
18
- limit: 20,
18
+ limit: 50,
19
19
  personal: [
20
20
  {
21
21
  key: 'operate_log',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q-koa",
3
- "version": "12.6.3",
3
+ "version": "12.6.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {