Update dependency node to v18 #15

Closed
renovate-bot wants to merge 48 commits from renovate/node-18.x into master
2 changed files with 2 additions and 2 deletions
Showing only changes of commit ff0c75b3db - Show all commits

View File

@ -87,7 +87,7 @@
function wsconnect() { function wsconnect() {
if (ws !== null) return; if (ws !== null) return;
ws = new WebSocket((window.location.protocol == 'https'?'wss://':'ws://') + window.location.host + `/api/surveys/${sid}/ws-admin`); ws = new WebSocket((window.location.protocol == 'https:'?'wss://':'ws://') + window.location.host + `/api/surveys/${sid}/ws-admin`);
ws.addEventListener("open", () => { ws.addEventListener("open", () => {
ws_up = true; ws_up = true;

View File

@ -64,7 +64,7 @@
} }
function wsconnect() { function wsconnect() {
const ws = new WebSocket((window.location.protocol == 'https'?'wss://':'ws://') + window.location.host + `/api/surveys/${sid}/ws`); const ws = new WebSocket((window.location.protocol == 'https:'?'wss://':'ws://') + window.location.host + `/api/surveys/${sid}/ws`);
ws.addEventListener("open", () => { ws.addEventListener("open", () => {
ws_up = true; ws_up = true;