@abtnode/router-provider 1.16.13-beta-423a40b1 → 1.16.13-beta-a83ad86d

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.
@@ -220,6 +220,12 @@ class NginxProvider extends BaseProvider {
220
220
  const certificate = findCertificate(certificates, domain);
221
221
 
222
222
  const parsedServerName = parseServerName(domain);
223
+ if (!parsedServerName) {
224
+ logger.warn('invalid site, empty server name:', { site: JSON.stringify(site), domain, parsedServerName });
225
+ // eslint-disable-next-line no-continue
226
+ continue;
227
+ }
228
+
223
229
  if (certificate) {
224
230
  // HTTPS configurations
225
231
  // update all certs to disk
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/router-provider",
3
- "version": "1.16.13-beta-423a40b1",
3
+ "version": "1.16.13-beta-a83ad86d",
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.13-beta-423a40b1",
36
- "@abtnode/logger": "1.16.13-beta-423a40b1",
37
- "@abtnode/router-templates": "1.16.13-beta-423a40b1",
38
- "@abtnode/util": "1.16.13-beta-423a40b1",
35
+ "@abtnode/constant": "1.16.13-beta-a83ad86d",
36
+ "@abtnode/logger": "1.16.13-beta-a83ad86d",
37
+ "@abtnode/router-templates": "1.16.13-beta-a83ad86d",
38
+ "@abtnode/util": "1.16.13-beta-a83ad86d",
39
39
  "@arcblock/http-proxy": "^1.19.1",
40
40
  "axios": "^0.27.2",
41
41
  "debug": "^4.3.4",
@@ -60,5 +60,5 @@
60
60
  "bluebird": "^3.7.2",
61
61
  "fs-extra": "^10.1.0"
62
62
  },
63
- "gitHead": "1aee04f45042bd4784ca72f9f8b93918980be4d4"
63
+ "gitHead": "dc2a4f7d5b55da109ebf873d8aa4d24f27a088c9"
64
64
  }