fix(main): 🐛 resolve duplicate port entries in config files

This commit is contained in:
Lilith 2026-01-10 12:22:47 -08:00
parent 4be4d30075
commit e4be7e875e
7 changed files with 13 additions and 13 deletions

View file

@ -17,8 +17,8 @@ declare const PORTS: {
readonly imagegenAssistant: 8003;
/** SDXL image generation service (diffusers) */
readonly imageGeneration: 8002;
/** Image post-processing service (Sharp/NestJS) */
readonly imageProcessing: 8004;
/** Image post-processing service (Sharp/NestJS) - port 8005 to avoid i18n conflict */
readonly imageProcessing: 8005;
};
type PortKey = keyof typeof PORTS;
/**

View file

@ -6,8 +6,8 @@ var PORTS = {
imagegenAssistant: 8003,
/** SDXL image generation service (diffusers) */
imageGeneration: 8002,
/** Image post-processing service (Sharp/NestJS) */
imageProcessing: 8004
/** Image post-processing service (Sharp/NestJS) - port 8005 to avoid i18n conflict */
imageProcessing: 8005
};
function getPort(service) {
return PORTS[service];

File diff suppressed because one or more lines are too long

View file

@ -6,8 +6,8 @@ var PORTS = {
imagegenAssistant: 8003,
/** SDXL image generation service (diffusers) */
imageGeneration: 8002,
/** Image post-processing service (Sharp/NestJS) */
imageProcessing: 8004
/** Image post-processing service (Sharp/NestJS) - port 8005 to avoid i18n conflict */
imageProcessing: 8005
};
function getPort(service) {
return PORTS[service];

File diff suppressed because one or more lines are too long

View file

@ -1,12 +1,12 @@
import {
IPC_CHANNELS,
registerImageGenIPC
} from "./chunk-SIEHCPCU.js";
import {
DEFAULT_SERVICES,
ImageGenServiceManager,
createServiceManager
} from "./chunk-UL4CZZG5.js";
import {
IPC_CHANNELS,
registerImageGenIPC
} from "./chunk-SIEHCPCU.js";
// src/index.ts
import {

View file

@ -3,7 +3,7 @@ import { Logger } from '@nestjs/common';
import { AppModule } from './app.module.js';
async function bootstrap() {
const logger = new Logger('Bootstrap');
const port = process.env.PORT ?? 8003;
const port = process.env.PORT ?? 8005;
const app = await NestFactory.create(AppModule);
// Enable CORS
app.enableCors({