commit 10

This commit is contained in:
Дмитрий Мамедов
2026-06-10 18:05:04 +03:00
parent ca14e97e0c
commit 0a8698ca50
3 changed files with 9 additions and 9 deletions

View File

@@ -33,7 +33,7 @@ async function bootstrap(): Promise<void> {
app.use(cookieParser());
app.enableCors({
origin: (process.env.CORS_ORIGINS ?? 'http://localhost:3000').split(','),
origin: (process.env.CORS_ORIGINS ?? 'http://localhost:3010').split(','),
credentials: true,
});
@@ -75,7 +75,7 @@ async function bootstrap(): Promise<void> {
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access
instance.set('trust proxy', trustProxy);
const port = parseInt(process.env.PORT ?? '3000', 10);
const port = parseInt(process.env.PORT ?? '3010', 10);
const host = process.env.HOST ?? '0.0.0.0';
await app.listen(port, host);