pmcf 1.79.8 → 1.79.9

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/package.json +1 -1
  2. package/src/host.mjs +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "1.79.8",
3
+ "version": "1.79.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/host.mjs CHANGED
@@ -257,7 +257,10 @@ export class Host extends Base {
257
257
  const domains = new Set(
258
258
  [...this.aliases].map(n => domainFromDominName(n, this.domain))
259
259
  );
260
- domains.add(this.domain);
260
+
261
+ if(this.domain) {
262
+ domains.add(this.domain);
263
+ }
261
264
  return domains;
262
265
  }
263
266