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

Shared utils -> extra-utils

Because they need dev dependencies
This commit is contained in:
Chocobozzz 2019-04-15 15:26:15 +02:00
parent 4ee7a4c9ac
commit 94565d52bb
No known key found for this signature in database
GPG key ID: 583A612D890159BE
131 changed files with 250 additions and 238 deletions

View file

@ -0,0 +1,13 @@
import * as io from 'socket.io-client'
function getUserNotificationSocket (serverUrl: string, accessToken: string) {
return io(serverUrl + '/user-notifications', {
query: { accessToken }
})
}
// ---------------------------------------------------------------------------
export {
getUserNotificationSocket
}