We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97c4a0c commit cd67b4cCopy full SHA for cd67b4c
src/shared/events/events.gateway.ts
@@ -5,12 +5,12 @@ import { BuildDto } from '../../builds/dto/build.dto';
5
import { debounce } from 'lodash';
6
import { PrismaService } from '../../prisma/prisma.service';
7
8
-@WebSocketGateway()
+@WebSocketGateway({ cors: true })
9
export class EventsGateway {
10
@WebSocketServer()
11
server: Server;
12
13
- constructor(private prismaService: PrismaService) { }
+ constructor(private prismaService: PrismaService) {}
14
15
private debounceTimeout = 1500;
16
private maxWait = 3000;
0 commit comments