commit 10
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user