Update the pads to run with the latest improvements to the websocket server
This commit is contained in:
@@ -125,9 +125,9 @@
|
||||
<script>
|
||||
require(['/common/crypto.js', '/api/config?cb=' + Math.random().toString(16).substring(2)], function (Crypto, Config) {
|
||||
document.getElementById('buttons').setAttribute('style', '');
|
||||
document.getElementById('create-pad').setAttribute('href', '/pad/#' + Crypto.genKey());
|
||||
document.getElementById('create-pad').setAttribute('href', '/pad/');
|
||||
if(Config.webrtcURL !== '') {
|
||||
document.getElementById('create-rtcpad').setAttribute('href', '/pad/?webrtc=1#' + Crypto.genKey());
|
||||
document.getElementById('create-rtcpad').setAttribute('href', '/pad/?webrtc=1');
|
||||
}
|
||||
document.getElementById('create-sheet').setAttribute('href', '/sheet/#' + Crypto.genKey());
|
||||
document.getElementById('create-code').setAttribute('href', '/code/#' + Crypto.genKey());
|
||||
|
||||
Reference in New Issue
Block a user