From 5fced776a2f066cbccd2c2a7abf0a14ad1e65e80 Mon Sep 17 00:00:00 2001 From: Chakradhar Rao Jonagam Date: Fri, 16 Jun 2017 23:41:34 -0700 Subject: [PATCH] Update custom.js --- static/js/custom.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/static/js/custom.js b/static/js/custom.js index b2d9cdf..c1c4d55 100644 --- a/static/js/custom.js +++ b/static/js/custom.js @@ -1,7 +1,5 @@ window.vm = null; -var suburl=window.location.hostname; -if(suburl.indexOf('portal')==-1) suburl+=":8089"; -var url = "http://"+suburl.replace('portal','api'); +var url = "http://shop-api-dev.10.0.0.145.xip.io/"; var togglers=['moreView','homeView']; var togglers2=['#productsView','#moreView','#shippingView']; /*