From 6cb22866b658ca22f9372c81118deb5f553c0b64 Mon Sep 17 00:00:00 2001 From: Diego Rey <diego.despaux@izundo.com> Date: Tue, 16 Jan 2018 19:47:17 -0300 Subject: [PATCH] Add links a servidor en Amazon --- Frontend Angular 4/src/app/shared/config.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Frontend Angular 4/src/app/shared/config.ts b/Frontend Angular 4/src/app/shared/config.ts index 269b083..acdf7f2 100644 --- a/Frontend Angular 4/src/app/shared/config.ts +++ b/Frontend Angular 4/src/app/shared/config.ts @@ -4,6 +4,9 @@ //export const SERVER = 'http://localhost:9090'; //export const GHCI_URL = 'ws://localhost:9090/endpoint'; +export const SERVER = 'http://ec2-52-15-74-22.us-east-2.compute.amazonaws.com:9090'; +export const GHCI_URL = 'ws://ec2-52-15-74-22.us-east-2.compute.amazonaws.com:9090/endpoint'; + //Configuracion dinamica pensando en servidor con ip dinamica -export const SERVER = window.location.protocol + '//' + window.location.host;//'http://localhost:9090'; -export const GHCI_URL = window.location.protocol == 'http:'? 'ws://'+window.location.host+'/endpoint': 'wss://'+window.location.host+'/endpoint'; +//export const SERVER = window.location.protocol + '//' + window.location.host;//'http://localhost:9090'; +//export const GHCI_URL = window.location.protocol == 'http:'? 'ws://'+window.location.host+'/endpoint': 'wss://'+window.location.host+'/endpoint'; -- GitLab