Commit fc012b99 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Permite acceder a app en puerto no estándar

parent 3dcc6e82
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -405,7 +405,10 @@ define([
		_removeQueryParametersFromHref: function() {

			var locationObj = getGlobalContext().location,
				href = locationObj.protocol + '//' + locationObj.hostname + locationObj.pathname + locationObj.hash;
				locationPort = locationObj.port,
				isNotStandardPort = locationPort !== '80',
				hrefPort = isNotStandardPort ? (':' + locationPort) : '',
				href = locationObj.protocol + '//' + locationObj.hostname + hrefPort + locationObj.pathname + locationObj.hash;

			getGlobalContext().history.replaceState(null, null, href);
		},