From a7b464ec3124dace0a4bcf96f0458c91907d246a Mon Sep 17 00:00:00 2001 From: lemuel Date: Wed, 10 Aug 2022 11:13:04 -0500 Subject: [PATCH 1/4] pmodulos --- src/app.gateway.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app.gateway.ts b/src/app.gateway.ts index ee316a5..a4b8094 100644 --- a/src/app.gateway.ts +++ b/src/app.gateway.ts @@ -10,12 +10,12 @@ import { Socket, Server } from 'socket.io'; @WebSocketGateway({ cors: { origin: [ - 'http://localhost:3176', - 'http://localhost:3186', + // 'http://localhost:3176', + // 'http://localhost:3186', // 'http://132.248.80.196:3155', // 'http://132.248.80.196:3185', - // 'https://pmodulospcpuma.unam.mx', - // 'http://pmodulospcpuma.unam.mx:3015', + 'https://pmodulospcpuma.unam.mx', + 'http://pmodulospcpuma.unam.mx:3015', // 'https://modulospcpuma.unam.mx', // 'https://modulospcpuma.unam.mx:3015', ], From b52add894b6dc20f9e6e7556a3af84c17976aafe Mon Sep 17 00:00:00 2001 From: lemuel Date: Thu, 11 Aug 2022 16:43:01 -0500 Subject: [PATCH 2/4] acatlan --- src/app.gateway.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app.gateway.ts b/src/app.gateway.ts index ee316a5..2f53ee2 100644 --- a/src/app.gateway.ts +++ b/src/app.gateway.ts @@ -10,10 +10,10 @@ import { Socket, Server } from 'socket.io'; @WebSocketGateway({ cors: { origin: [ - 'http://localhost:3176', - 'http://localhost:3186', - // 'http://132.248.80.196:3155', - // 'http://132.248.80.196:3185', + // 'http://localhost:3176', + // 'http://localhost:3186', + 'http://132.248.80.196:3155', + 'http://132.248.80.196:3185', // 'https://pmodulospcpuma.unam.mx', // 'http://pmodulospcpuma.unam.mx:3015', // 'https://modulospcpuma.unam.mx', From b3482881c4bb71c9091b5fe7f6d66d3890c16d7e Mon Sep 17 00:00:00 2001 From: lemuel Date: Thu, 11 Aug 2022 19:04:41 -0500 Subject: [PATCH 3/4] aprende a escribir --- src/auth/auth.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/auth/auth.service.ts b/src/auth/auth.service.ts index 380c7f7..a0b5420 100644 --- a/src/auth/auth.service.ts +++ b/src/auth/auth.service.ts @@ -33,7 +33,7 @@ export class AuthService { nombre: operador.nombre, operador: operador.operador, institucion: operador.institucion - ? { id_instituion: operador.institucion.id_institucion } + ? { id_institucion: operador.institucion.id_institucion } : null, tipoUsuario: { id_tipo_usuario: operador.tipoUsuario.id_tipo_usuario, @@ -65,7 +65,7 @@ export class AuthService { nombre: operador.nombre, operador: operador.operador, institucion: operador.institucion - ? { id_instituion: operador.institucion.id_institucion } + ? { id_institucion: operador.institucion.id_institucion } : null, tipoUsuario: { id_tipo_usuario: operador.tipoUsuario.id_tipo_usuario, From d69a00c104c59a232caec42d5eb527aa04041569 Mon Sep 17 00:00:00 2001 From: lemuel Date: Thu, 11 Aug 2022 19:05:42 -0500 Subject: [PATCH 4/4] acatlan --- src/app.gateway.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app.gateway.ts b/src/app.gateway.ts index a4b8094..2f53ee2 100644 --- a/src/app.gateway.ts +++ b/src/app.gateway.ts @@ -12,10 +12,10 @@ import { Socket, Server } from 'socket.io'; origin: [ // 'http://localhost:3176', // 'http://localhost:3186', - // 'http://132.248.80.196:3155', - // 'http://132.248.80.196:3185', - 'https://pmodulospcpuma.unam.mx', - 'http://pmodulospcpuma.unam.mx:3015', + 'http://132.248.80.196:3155', + 'http://132.248.80.196:3185', + // 'https://pmodulospcpuma.unam.mx', + // 'http://pmodulospcpuma.unam.mx:3015', // 'https://modulospcpuma.unam.mx', // 'https://modulospcpuma.unam.mx:3015', ],