akveo / akveo/ngx-admin

Link in new tab

Abierto
#2,119 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
25.7k
Forks
7.9k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.