publicstring commited on
Commit
20e16e3
·
verified ·
1 Parent(s): 2c3d6c6

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +5 -3
app.js CHANGED
@@ -12,7 +12,7 @@ app.use(express.json());
12
  // CONFIG
13
  // ============================================================
14
  const PORT = process.env.PORT || 7860;
15
- const REGISTRY_URL = process.env.REGISTRY_URL; // Restored local override
16
  const SELLER_PRIV_KEY = process.env.SELLER_PRIVATE_KEY;
17
  const PUBLIC_ENDPOINT = process.env.PUBLIC_ENDPOINT;
18
  const GEMINI_API_KEY = process.env.GEMINI_API_KEY;
@@ -192,8 +192,10 @@ app.listen(PORT, async () => {
192
  capabilities: mod.capabilities || []
193
  });
194
  } catch (e) {
195
- console.error(`[Boot] Failed to register ${domain}: ${e.message}`);
196
- console.error(` Is your domain claimed on the dashboard first?`);
 
 
197
  }
198
  }
199
  });
 
12
  // CONFIG
13
  // ============================================================
14
  const PORT = process.env.PORT || 7860;
15
+ const REGISTRY_URL = process.env.REGISTRY_URL;
16
  const SELLER_PRIV_KEY = process.env.SELLER_PRIVATE_KEY;
17
  const PUBLIC_ENDPOINT = process.env.PUBLIC_ENDPOINT;
18
  const GEMINI_API_KEY = process.env.GEMINI_API_KEY;
 
192
  capabilities: mod.capabilities || []
193
  });
194
  } catch (e) {
195
+ console.error(`[Boot] Failed to register ${domain}:`);
196
+ console.error(` -> ${e.message}`);
197
+ console.error(` -> Did you claim '${domain}' on the dashboard and bind it to this .env private key?`);
198
+ console.error(` -> If you don't own '${domain}', delete its file from your 'modules' folder!`);
199
  }
200
  }
201
  });