akveo / akveo/ngx-admin

Link in new tab

Open
#2,119 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
25.7k
Forks
7.9k
PR merge metrics
No merged PRs in 30d

Description

I have created an Application and deployed it in Tomcat but when I am trying to open a link in new tab I get 404 error.

I have removed # from the URL by removing
const config: ExtraOptions = {
useHash: true,
};
and config parameter from RouterModule.forRoot(routes) in AppRoutingModule file.
As my application has context root so added APP_BASSE_HREF in AppModule.
providers: [
TokenStorage,
{ provide: APP_BASE_HREF, useValue: '//' },
{
provide: HTTP_INTERCEPTORS,
useClass: Interceptor,
multi: true
}
],
Please help me to fix this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.