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.
@@ -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:3001/api/ping
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 = 3001) {
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 = 3001) {
59
+ function bootHTTP(app, port = 8686) {
60
60
  if (!app) throw new Error('No "app" defined - crashing!');
61
61
 
62
62
  app