Right now anyone can access my assets by doing http://localhost:4200/assets/filename.pdf even when the user is not logged in. How can I protect my assets by using canActivate?
Something like this would be ideal: { path: 'assets/*', canActivate: [LoginService] },
Thanks.