aboutsummaryrefslogtreecommitdiff
path: root/ui/src/app/metube-socket.ts
blob: cfc8fea128c675d0c1dd7be677e51a8693522b60 (plain)
1
2
3
4
5
6
7
8
9
import { Injectable } from '@angular/core';
import { Socket } from 'ngx-socket-io';

@Injectable()
export class MeTubeSocket extends Socket {
     constructor() {
        super({ url: '', options: {path: document.location.pathname + 'socket.io'} });
    }
}
bgstack15