Spaces:
Sleeping
Sleeping
Update app.js
Browse files
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;
|
| 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}:
|
| 196 |
-
console.error(`
|
|
|
|
|
|
|
| 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 |
});
|