totem-llm 0.3.2 → 0.3.4
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/README.md +3 -3
- package/bin/totem-llm.js +1 -1
- package/lib/launcher.js +48 -22
- package/lib/setup.js +1 -1
- package/package.json +1 -1
- package/server/.env +1 -1
- package/server/endpoints/features.js +22 -0
- package/server/index.js +4 -2
- package/server/models/mobileDevice.js +1 -1
- package/server/models/systemSettings.js +1 -1
- package/server/public/assets/{index-cf613bb3.js → index-391c1474.js} +2 -2
- package/server/public/assets/{index-e9761a1b.js → index-4ce77c64.js} +1 -1
- package/server/public/assets/{index-dcc00e8c.js → index-671239cd.js} +1 -1
- package/server/public/assets/{index-6adfbee1.js → index-a253e180.js} +1 -1
- package/server/public/assets/{index-d1d3d69a.js → index-df293c50.js} +1 -1
- package/server/public/index.js +5 -5
- package/server/utils/boot/index.js +3 -3
|
@@ -13,9 +13,9 @@ const { TelegramBotService } = require("../telegramBot");
|
|
|
13
13
|
// - rm server.pass.key
|
|
14
14
|
// - openssl req -new -key server.key -out server.csr
|
|
15
15
|
// Update .env keys with the correct values and boot. These are temporary and not real SSL certs - only use for local.
|
|
16
|
-
// Test with https://localhost:
|
|
16
|
+
// Test with https://localhost:8686/api/ping
|
|
17
17
|
// build and copy frontend to server/public with correct API_BASE and start server in prod model and all should be ok
|
|
18
|
-
function bootSSL(app, port =
|
|
18
|
+
function bootSSL(app, port = 8686) {
|
|
19
19
|
try {
|
|
20
20
|
console.log(
|
|
21
21
|
`\x1b[33m[SSL BOOT ENABLED]\x1b[0m Loading the certificate and key for HTTPS mode...`
|
|
@@ -56,7 +56,7 @@ function bootSSL(app, port = 3001) {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
function bootHTTP(app, port =
|
|
59
|
+
function bootHTTP(app, port = 8686) {
|
|
60
60
|
if (!app) throw new Error('No "app" defined - crashing!');
|
|
61
61
|
|
|
62
62
|
app
|