Remove logging.

This commit is contained in:
Richard Lewis 2017-12-05 11:00:12 +00:00
parent 59f9e388d4
commit ac36f93c3f

View File

@ -195,9 +195,7 @@ function removeEndpoint(widgetId, endpointUrl) {
return;
}
console.warn("Origin url:", u);
const origin = u.protocol + '//' + u.host;
if (global.mxWidgetMessagingMessageEndpoints && global.mxWidgetMessagingMessageEndpoints.length > 0) {
const length = global.mxWidgetMessagingMessageEndpoints.length;
global.mxWidgetMessagingMessageEndpoints = global.mxWidgetMessagingMessageEndpoints.filter(function(endpoint) {