Skip to content

Commit 4806829

Browse files
authored
fix(backend): update PORT in .env and improve modelsConfig check (#95)
1 parent a78d34f commit 4806829

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
PORT=8080
1+
PORT=8090
22
JWT_SECRET="JACKSONCHENNAHEULALLEN"
33
SALT_ROUNDS=123

backend/src/downloader/universal-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export async function checkAndDownloadAllModels(
9292

9393
logger.log('Checking and downloading configured models...');
9494

95-
if (!modelsConfig.length) {
95+
if (!modelsConfig || !modelsConfig.length) {
9696
logger.warn(`No ${type} models configured`);
9797
return;
9898
}

0 commit comments

Comments
 (0)