Router kątowy nawigacja baza href
import { APP_BASE_HREF } from '@angular/common';
Tired Tapir
import { APP_BASE_HREF } from '@angular/common';
providers: [
{
provide: APP_BASE_HREF,
useValue: '/' + (window.location.pathname.split('/')[1] || '')
}
]