Skip to content

Commit

Permalink
chore: cancel product status setting
Browse files Browse the repository at this point in the history
  • Loading branch information
a20688392 committed Feb 13, 2023
1 parent 88880f0 commit de1b37b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
import { INestApplication } from "@nestjs/common";
import { NestFactory } from "@nestjs/core";
import { DocumentBuilder, SwaggerModule } from "@nestjs/swagger";
import * as dotenv from "dotenv";

import { AppModule } from "./app.module";
import { Environment } from "./config/env.validation";

dotenv.config();
async function bootstrap() {
const app = await NestFactory.create(AppModule);
if (process.env.NODE_ENV !== Environment.Production) {
setupSwagger(app);
}
setupSwagger(app);
await app.listen(3000);
}

Expand Down

0 comments on commit de1b37b

Please sign in to comment.