@abtnode/util 1.16.24 → 1.16.25-beta-fe54d1bc

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.
@@ -177,7 +177,7 @@ const ensureDefaultLogo = (req, res, next) => {
177
177
  if (blocklet && get(blocklet, 'env.dataDir')) {
178
178
  const logoSvgFile = path.join(get(blocklet, 'env.dataDir'), 'logo.svg');
179
179
  if (fs.existsSync(logoSvgFile)) {
180
- res.sendFile(logoSvgFile, sendOptions);
180
+ res.sendLogoFile(logoSvgFile, sendOptions);
181
181
  return;
182
182
  }
183
183
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.24",
6
+ "version": "1.16.25-beta-fe54d1bc",
7
7
  "description": "ArcBlock's JavaScript utility",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -18,14 +18,14 @@
18
18
  "author": "polunzh <polunzh@gmail.com> (http://github.com/polunzh)",
19
19
  "license": "Apache-2.0",
20
20
  "dependencies": {
21
- "@abtnode/constant": "1.16.24",
22
- "@abtnode/logger": "1.16.24",
23
- "@blocklet/constant": "1.16.24",
24
- "@blocklet/meta": "1.16.24",
25
- "@ocap/client": "1.18.110",
26
- "@ocap/mcrypto": "1.18.110",
27
- "@ocap/util": "1.18.110",
28
- "@ocap/wallet": "1.18.110",
21
+ "@abtnode/constant": "1.16.25-beta-fe54d1bc",
22
+ "@abtnode/logger": "1.16.25-beta-fe54d1bc",
23
+ "@blocklet/constant": "1.16.25-beta-fe54d1bc",
24
+ "@blocklet/meta": "1.16.25-beta-fe54d1bc",
25
+ "@ocap/client": "1.18.113",
26
+ "@ocap/mcrypto": "1.18.113",
27
+ "@ocap/util": "1.18.113",
28
+ "@ocap/wallet": "1.18.113",
29
29
  "archiver": "^5.3.1",
30
30
  "axios": "^0.27.2",
31
31
  "axios-mock-adapter": "^1.21.2",
@@ -76,5 +76,5 @@
76
76
  "fs-extra": "^11.2.0",
77
77
  "jest": "^29.7.0"
78
78
  },
79
- "gitHead": "6cd6669cb3569f96433e18b1dac346432741a1a7"
79
+ "gitHead": "e9411b6ee3c482554c76fe91796560abeb0e56ad"
80
80
  }