fix broken PREFIX_URL feature

This commit is contained in:
Alex
2019-12-06 14:16:19 +02:00
parent 6d6ef97826
commit 91cee0339a
6 changed files with 34 additions and 12 deletions

View File

@@ -0,0 +1,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'} });
}
}