|
|
@@ -13,10 +13,10 @@ async function bootstrap() {
|
|
|
const app = await NestFactory.create(AppModule, { httpsOptions });
|
|
|
|
|
|
app.enableCors({
|
|
|
- origin: ['https://192.168.100.100:4200', 'https://localhost:4200'],
|
|
|
+ origin: ['https://192.168.100.100:4200', 'https://192.168.100.79:4200', 'https://localhost:4200'],
|
|
|
credentials: true,
|
|
|
});
|
|
|
|
|
|
- await app.listen(process.env.PORT ?? 3000);
|
|
|
+ await app.listen(process.env.PORT ?? 3000, process.env.HOST ?? '0.0.0.0');
|
|
|
}
|
|
|
bootstrap();
|