roster-server 1.6.6 → 1.6.8

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 +2 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -20,8 +20,6 @@ class Roster {
20
20
  throw new Error('⚠️ Port 80 is reserved for ACME challenge. Please use a different port.');
21
21
  }
22
22
  this.port = port;
23
-
24
- this.loadSites();
25
23
  }
26
24
 
27
25
  async loadSites() {
@@ -189,7 +187,8 @@ class Roster {
189
187
  console.log(`✅ Manually registered site: ${domain}`);
190
188
  }
191
189
 
192
- start() {
190
+ async start() {
191
+ await this.loadSites();
193
192
  this.generateConfigJson();
194
193
 
195
194
  const greenlock = Greenlock.init({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roster-server",
3
- "version": "1.6.6",
3
+ "version": "1.6.8",
4
4
  "description": "👾 RosterServer - A domain host router to host multiple HTTPS.",
5
5
  "main": "index.js",
6
6
  "scripts": {