Skip to content
Snippets Groups Projects

ci: setup application helms in the monorepo

Merged Zdravko Iliev requested to merge find-dist-location into main
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -12,13 +12,13 @@ import { MicroserviceOptions, Transport } from "@nestjs/microservices";
import { ConfigService } from "@nestjs/config";
import { IGateway } from "@ocm-engine/config";
import { DocumentBuilder, SwaggerModule } from "@nestjs/swagger";
import { IoAdapter } from "@nestjs/platform-socket.io";
import { WsAdapter } from "@nestjs/platform-ws";
import * as fs from "fs";
async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.useWebSocketAdapter(new IoAdapter(app));
app.useWebSocketAdapter(new WsAdapter(app));
const configService = app.get(ConfigService);
const gatewayConfig = configService.get<IGateway>("gateway")!;
Loading