From e28ae5d3f8b772b1f5a5d409748d93803dd32aac Mon Sep 17 00:00:00 2001 From: Regis Amaral Date: Mon, 7 Aug 2023 20:21:05 -0300 Subject: [PATCH] ajuste --- app/js/ravin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/ravin.js b/app/js/ravin.js index f50134a..866c373 100755 --- a/app/js/ravin.js +++ b/app/js/ravin.js @@ -5,7 +5,7 @@ var itensList = null; //itens recuperados da API var objetoComanda = new Comanda(); // Objeto javascript para controlar toda a lógica local referente aos dados de uma comanda var objetoPedido = new Pedido(); var listaPedidos = []; -var serverAWS = false; +var serverAWS = true; const urlWebsocket = window.location.hostname === 'localhost' && !serverAWS ? 'localhost' : 'ravin-project.eba-u8hvijwt.sa-east-1.elasticbeanstalk.com'; const portWebsocket = window.location.hostname === 'localhost' && !serverAWS ? '8080' : '80'; var socket = null;