This commit is contained in:
2022-08-29 12:22:17 +02:00
parent e11645932d
commit 9b4b71d25f
6 changed files with 22 additions and 17 deletions

View File

@ -3,7 +3,6 @@
const { makeId } = require('core/makeid');
const decoder = new TextDecoder('utf-8');
let uws;
let downIdsBefore = [];
let downIdsAfter = [];
@ -16,7 +15,7 @@ const mapService = (s, beat) => ({
});
async function createDashboardSocket(server) {
uws = server.ws({
server.ws({
route: '/status/dashboard/socket',
onOpen: async ws => {
async function sendStatuses() {