Is it possible in any way to force only the browser to provide a specific path for the universal Angular 5 application? I have the following routes in app.module.shared.ts
@NgModule({ declarations: [...], imports: [ ...... RouterModule.forRoot([ { path: '', redirectTo: 'home', pathMatch: 'full' }, { path: 'home', component: HomeComponent }, { path: 'auth-callback', component: AuthCallbackComponent}, { path: '**', redirectTo: 'home' } ] ) ], providers: [] })
And I want mysite.com/auth-callback to only be displayed in the browser, and not on the server side. Thanks for any help, could not find any help.
source share