@abtnode/constant 1.17.7-beta-20251227-001958-ea2ba3f5 → 1.17.7-beta-20251229-085620-84f09930

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/index.js +4 -3
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -549,6 +549,8 @@ module.exports = Object.freeze({
549
549
  CONFIG_FOLDER_NAME_OLD: '.abtnode',
550
550
  EXPORTED_FOLDER_NAME: 'exported_blocklet_server',
551
551
 
552
+ DEFAULT_WELLKNOWN_PORT: 8088,
553
+
552
554
  StatusCode: Object.freeze({
553
555
  ok: 0,
554
556
 
@@ -585,7 +587,6 @@ module.exports = Object.freeze({
585
587
 
586
588
  DEFAULT_ADMIN_PATH: '/admin',
587
589
  WELLKNOWN_SERVER_ADMIN_PATH: '/.well-known/server/admin',
588
- DEFAULT_SERVICE_PATH: '/.abtnode/service',
589
590
  DEFAULT_HTTP_PORT: 80,
590
591
  DEFAULT_HTTPS_PORT: 443,
591
592
  MAX_UPLOAD_FILE_SIZE: 100, // unit: MB
@@ -674,8 +675,8 @@ module.exports = Object.freeze({
674
675
  // @link https://www.nginx.com/blog/nginx-caching-guide/
675
676
  ROUTER_CACHE_GROUPS: {
676
677
  blockletProxy: {
677
- minSize: '1m',
678
- maxSize: '2g',
678
+ minSize: '10m',
679
+ maxSize: '10g',
679
680
  period: '30d',
680
681
  },
681
682
  // TODO: disabled because we can not bust nginx cache effectively for now
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.17.7-beta-20251227-001958-ea2ba3f5",
6
+ "version": "1.17.7-beta-20251229-085620-84f09930",
7
7
  "description": "ABT Node constants",
8
8
  "main": "index.js",
9
9
  "files": [
@@ -17,5 +17,5 @@
17
17
  },
18
18
  "author": "polunzh <polunzh@gmail.com> (http://github.com/polunzh)",
19
19
  "license": "Apache-2.0",
20
- "gitHead": "ec0a542fc2c66f2530d25884b43bddfa28d921a0"
20
+ "gitHead": "fe2ffc3cf431bbaa89ac802bed793aa1188da4c3"
21
21
  }