@abtnode/router-provider 1.16.38-beta-20250121-093201-3cdcfa78 → 1.16.38-beta-20250123-083218-c7ea9693

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.
@@ -18,6 +18,7 @@
18
18
  # use of this file.
19
19
  #
20
20
  SecRuleRemoveById 920350
21
+ SecRuleRemoveById 920170
21
22
  SecRuleRemoveByTag "platform-windows"
22
23
 
23
24
  #
@@ -889,8 +889,8 @@ class NginxProvider extends BaseProvider {
889
889
  ...pick(wafPolicy, ['mode', 'inboundAnomalyScoreThreshold', 'outboundAnomalyScoreThreshold', 'logLevel']),
890
890
  tmpDir: this.tmpDir,
891
891
  logDir: this.logDir,
892
- maxUploadSize: +CLIENT_MAX_BODY_SIZE * 1024 * 1024,
893
- maxBodySize: (+CLIENT_MAX_BODY_SIZE * 1024 * 1024) / 100,
892
+ maxUploadSize: Math.floor(+CLIENT_MAX_BODY_SIZE * 1024 * 1024),
893
+ maxBodySize: Math.floor((+CLIENT_MAX_BODY_SIZE * 1024 * 1024) / 100),
894
894
  };
895
895
 
896
896
  logger.info('modsecurity variables', variables);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/router-provider",
3
- "version": "1.16.38-beta-20250121-093201-3cdcfa78",
3
+ "version": "1.16.38-beta-20250123-083218-c7ea9693",
4
4
  "description": "Routing engine implementations for abt node",
5
5
  "author": "polunzh <polunzh@gmail.com>",
6
6
  "homepage": "https://github.com/ArcBlock/blocklet-server#readme",
@@ -32,10 +32,10 @@
32
32
  "url": "https://github.com/ArcBlock/blocklet-server/issues"
33
33
  },
34
34
  "dependencies": {
35
- "@abtnode/constant": "1.16.38-beta-20250121-093201-3cdcfa78",
36
- "@abtnode/logger": "1.16.38-beta-20250121-093201-3cdcfa78",
37
- "@abtnode/router-templates": "1.16.38-beta-20250121-093201-3cdcfa78",
38
- "@abtnode/util": "1.16.38-beta-20250121-093201-3cdcfa78",
35
+ "@abtnode/constant": "1.16.38-beta-20250123-083218-c7ea9693",
36
+ "@abtnode/logger": "1.16.38-beta-20250123-083218-c7ea9693",
37
+ "@abtnode/router-templates": "1.16.38-beta-20250123-083218-c7ea9693",
38
+ "@abtnode/util": "1.16.38-beta-20250123-083218-c7ea9693",
39
39
  "@arcblock/http-proxy": "^1.19.1",
40
40
  "@arcblock/is-valid-domain": "^1.0.5",
41
41
  "axios": "^1.7.9",
@@ -60,5 +60,5 @@
60
60
  "bluebird": "^3.7.2",
61
61
  "fs-extra": "^11.2.0"
62
62
  },
63
- "gitHead": "d6b5059b13b31a2d619fd23dc9d993dca927d21f"
63
+ "gitHead": "7a5401105e25590871ad579ade72ab3097cc29ba"
64
64
  }