Add field to bypass riot widget loading screen.

This commit is contained in:
Richard Lewis 2017-12-06 16:44:41 +00:00
parent 9eb334a1d4
commit e20db416f2
3 changed files with 11 additions and 4 deletions

View file

@ -164,7 +164,7 @@ function stopListening() {
function addEndpoint(widgetId, endpointUrl) {
const u = URL.parse(endpointUrl);
if (!u || !u.protocol || !u.host) {
console.warn("Invalid origin");
console.warn("Invalid origin:", endpointUrl);
return;
}