deemix-webui/src/utils/socket.js

6 lines
183 B
JavaScript
Raw Normal View History

export const socket = io.connect(window.location.href)
socket.on('connect', () => {
document.getElementById('start_app_placeholder').classList.add('loading_placeholder--hidden')
})