update server
This commit is contained in:
parent
ab61e85eac
commit
807873d3de
|
|
@ -15,9 +15,7 @@ async function bootstrap() {
|
|||
cert: fs.readFileSync('ssl/cert.pem'),
|
||||
};
|
||||
|
||||
const app = await NestFactory.create(AppModule, {
|
||||
httpsOptions,
|
||||
});
|
||||
const app = await NestFactory.create(AppModule);
|
||||
|
||||
const prefix_version = process.env.PREFIX_VERSION;
|
||||
|
||||
|
|
@ -56,7 +54,6 @@ async function bootstrap() {
|
|||
useContainer(app.select(AppModule), { fallbackOnErrors: true });
|
||||
|
||||
await app.listen(Number(process.env.APP_PORT));
|
||||
// await app.listen(Number(process.env.APP_PORT), '172.18.10.21');
|
||||
}
|
||||
|
||||
bootstrap();
|
||||
|
|
|
|||
Loading…
Reference in New Issue