@inetafrica/open-claudia 2.6.13 → 2.6.14
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.
- package/bot.js +8 -0
- package/package.json +1 -1
package/bot.js
CHANGED
|
@@ -171,6 +171,14 @@ setInterval(checkForUpdates, 5 * 60 * 1000);
|
|
|
171
171
|
console.error("Loopback start failed:", e.message);
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
+
if (process.env.WEB_UI === "true") {
|
|
175
|
+
try {
|
|
176
|
+
require("./web.js").startWebServer();
|
|
177
|
+
} catch (e) {
|
|
178
|
+
console.error("Web UI start failed:", e.message);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
174
182
|
for (const adapter of adapters) {
|
|
175
183
|
try {
|
|
176
184
|
await adapter.start();
|
package/package.json
CHANGED