ToolJet/server/src/main.ts
2021-07-09 16:22:03 +05:30

11 lines
276 B
TypeScript

import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule, {
logger: ['error', 'log', 'verbose'],
});
app.enableCors();
await app.listen(3000);
}
bootstrap();