fix broken PREFIX_URL feature
This commit is contained in:
9
ui/src/app/metube-socket.ts
Normal file
9
ui/src/app/metube-socket.ts
Normal 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'} });
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user