diff options
Diffstat (limited to 'shared/utils/socket/socket-io.ts')
-rw-r--r-- | shared/utils/socket/socket-io.ts | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/shared/utils/socket/socket-io.ts b/shared/utils/socket/socket-io.ts deleted file mode 100644 index 854ab71af..000000000 --- a/shared/utils/socket/socket-io.ts +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | import * as io from 'socket.io-client' | ||
2 | |||
3 | function getUserNotificationSocket (serverUrl: string, accessToken: string) { | ||
4 | return io(serverUrl + '/user-notifications', { | ||
5 | query: { accessToken } | ||
6 | }) | ||
7 | } | ||
8 | |||
9 | // --------------------------------------------------------------------------- | ||
10 | |||
11 | export { | ||
12 | getUserNotificationSocket | ||
13 | } | ||