From 01e6f97f4fee86be416ad69e7596ff2c7b83a233 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Mon, 18 Apr 2022 14:35:41 +0100 Subject: [PATCH] fix --- src/app/services/chat/ws-chat.service.ts | 2 ++ src/environments/environment.ts | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/app/services/chat/ws-chat.service.ts b/src/app/services/chat/ws-chat.service.ts index bfb47a6d9..98ac50c5c 100644 --- a/src/app/services/chat/ws-chat.service.ts +++ b/src/app/services/chat/ws-chat.service.ts @@ -56,6 +56,8 @@ export class WsChatService { const requestId = uuidv4() + console.log('chat==', SessionStore.user.RochetChatUser, SessionStore.user.Password); + const message = { msg: "method", method: "login", diff --git a/src/environments/environment.ts b/src/environments/environment.ts index e1c6e905b..5f8a0d1c3 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -23,10 +23,10 @@ export const environment = { production: false, //apiURL: 'https://gabinetedigital.dyndns.info/GabineteDigital.Services/V5/api/', apiURL: 'http://gpr-dev-01.gabinetedigital.local/GabineteDigital.Services/V5/api/', - //apiChatUrl: 'https://gabinetedigitalchat.dyndns.info/api/v1/', - //apiWsChatUrl: 'wss://gabinetedigitalchat.dyndns.info/websocket', - apiChatUrl: 'https://www.tabularium.pt/api/v1/', - apiWsChatUrl: 'wss://www.tabularium.pt/websocket', + apiChatUrl: 'https://gabinetedigitalchat.dyndns.info/api/v1/', + apiWsChatUrl: 'wss://gabinetedigitalchat.dyndns.info/websocket', + //apiChatUrl: 'https://www.tabularium.pt/api/v1/', + //apiWsChatUrl: 'wss://www.tabularium.pt/websocket', /* apiChatUrl: 'http://chat.gabinetedigital.local:3000/api/v1/', */ domain: 'gabinetedigital.local', //gabinetedigital.local defaultuser: 'paulo.pinto@gabinetedigital.local',//paulo.pinto paulo.pinto@gabinetedigital.local