mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-20 19:50:58 +03:00
Fixed bug that prevented new users from accessing the login screen
This commit is contained in:
@@ -73,7 +73,7 @@ export class PostsService implements CanActivate {
|
||||
this.httpOptions.params = this.httpOptions.params.set('sessionID', this.session_id);
|
||||
});
|
||||
|
||||
const login_not_required = this.router.url !== '/player'
|
||||
const login_not_required = window.location.href.includes('/player');
|
||||
|
||||
// get config
|
||||
this.loadNavItems().subscribe(res => {
|
||||
|
||||
Reference in New Issue
Block a user