Commit 6cb22866 authored by Diego Rey's avatar Diego Rey
Browse files

Add links a servidor en Amazon

parent 0ee7d707
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
//export const SERVER = 'http://localhost:9090'; //export const SERVER = 'http://localhost:9090';
//export const GHCI_URL = 'ws://localhost:9090/endpoint'; //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 //Configuracion dinamica pensando en servidor con ip dinamica
export const SERVER = window.location.protocol + '//' + window.location.host;//'http://localhost:9090'; //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 GHCI_URL = window.location.protocol == 'http:'? 'ws://'+window.location.host+'/endpoint': 'wss://'+window.location.host+'/endpoint';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment