mirror of
https://github.com/alexta69/metube.git
synced 2026-06-16 08:16:12 +00:00
fix broken PREFIX_URL feature
This commit is contained in:
@@ -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