Fixed bug that prevented new users from accessing the login screen

This commit is contained in:
Tzahi12345
2020-06-09 18:12:55 -04:00
parent a074166903
commit a518ac680f
8 changed files with 6 additions and 6 deletions

View File

@@ -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 => {