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:
parent
68e70a745b
commit
bd54ad1953
11 changed files with 286 additions and 37 deletions
|
@ -6,8 +6,13 @@ function getUserNotificationSocket (serverUrl: string, accessToken: string) {
|
|||
})
|
||||
}
|
||||
|
||||
function getLiveNotificationSocket (serverUrl: string) {
|
||||
return io(serverUrl + '/live-videos')
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export {
|
||||
getUserNotificationSocket
|
||||
getUserNotificationSocket,
|
||||
getLiveNotificationSocket
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue