@@ -85598,10 +85598,9 @@ snare.wav
8559885598 let customServerElement = document.getElementById('customUrl');
8559985599 if(customServerElement !== null && customServerElement.value !== '') {
8560085600 if(customServerElement.value.startsWith('wss') || customServerElement.value.startsWith('http')){
85601- showNotification('Only enter a domain name, without wss://')
85601+ showNotification('Only enter a domain name, without wss://', 'error', 'red' )
8560285602 } else {
8560385603 serverURL = customServerElement.value;
85604- //showNotification(`Connecting to a custom server at ${serverURL}`)
8560585604 }
8560685605 }
8560785606 }
@@ -85956,20 +85955,15 @@ snare.wav
8595685955 return
8595785956 }
8595885957
85959- var curdomain = `${location.protocol}//${location.host}`;
85960- if(curdomain !== __mydomain && location.hostname !== 'localhost' ) {
85961- var msg = `Domain name ${curdomain} not matching ${__mydomain}`;
85962- showNotification(msg, 'error', 'red')
85963- return;
85964- }
85965-
85966- if(usernameValid && roomNameValid){
85958+
85959+ if(usernameValid && roomNameValid) {
8596785960 share.go(cm, environment, networkConfig, username, roomname, shouldShowChat, useSharedEditor)
8596885961 } else {
8596985962 showNotification('Username or channel name must be minimum 6 letter', 'error', 'red')
8597085963 return
8597185964 }
85972-
85965+
85966+ var curdomain = `${location.protocol}//${location.host}`;
8597385967 var selected = false;
8597485968 var el = document.createElement('textarea');
8597585969 el.value = `${curdomain}/?show=${btoa(roomname)}`;
0 commit comments