Skip to content

Commit

Permalink
Edit some files
Browse files Browse the repository at this point in the history
  • Loading branch information
computer committed Jan 19, 2024
1 parent 50b49b1 commit ff21b9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Backend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger';
import { IoAdapter } from '@nestjs/platform-socket.io';
const fs = require('fs');

export let httpInstance;
async function bootstrap() {
const httpsOptions = {
key: fs.readFileSync(
Expand Down Expand Up @@ -50,7 +49,7 @@ async function bootstrap() {

app.enableCors({ origin: true });
await app.listen(process.env.LISTEN_PORT ? process.env.LISTEN_PORT : '8080');
app.getHttpServer();

console.log(
`\nApp started, look at https://localhost:${
process.env.LISTEN_PORT ? process.env.LISTEN_PORT : '8080'
Expand Down

0 comments on commit ff21b9e

Please sign in to comment.