1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Add live notification tests

This commit is contained in:
Chocobozzz 2020-11-04 15:31:32 +01:00 committed by Chocobozzz
parent 68e70a745b
commit bd54ad1953
11 changed files with 286 additions and 37 deletions

View file

@ -6,8 +6,13 @@ function getUserNotificationSocket (serverUrl: string, accessToken: string) {
})
}
function getLiveNotificationSocket (serverUrl: string) {
return io(serverUrl + '/live-videos')
}
// ---------------------------------------------------------------------------
export {
getUserNotificationSocket
getUserNotificationSocket,
getLiveNotificationSocket
}