Hi again,
Can you please follow the steps below
yarn cache clean
|| npm cache clean --force
After applied these steps can you notify me please ?
Hi Mustafa,
Can we see what's in the theme-lepton folder please ? Just want to be sure there is no any folder like dist, global backgrounds etc. If you have these folders, just be sure you are give the right url path in app-layout.component.scss file
Hi ash, I created an issue for that, It'll be fixed on next patch version
Hi m.alsuwialem
Can you tell me steps with the options for reproduce the error please ?
Hello Hamid,
Which type UI you using ? If it's angular you can customize specific error code check the documentation
custom-error.handler.ts
//app/shared/handlers/custom-error.handler.ts
import { Injector } from '@angular/core';
import { HttpErrorResponse } from '@angular/common/http';
import { throwError } from 'rxjs';
import { AuthService } from '@abp/ng.core';
export function handleHttpErrors(injector: Injector, httpError: HttpErrorResponse) {
if (httpError.status === 401) {
injector.get(AuthService).navigateToLogin();
return;
}
return throwError(() => httpError);
}
app.module.ts
//app/app.module
import {HTTP_ERROR_HANDLER} from '@abp/ng.theme.shared';
import {handleHttpErrors} from './shared/handlers/custom-error.handler';
//Other imports..
@NgModule({
imports: [
//Modules
],
providers: [
APP_ROUTE_PROVIDER,
//ADD THE BELOW CODE
{ provide: HTTP_ERROR_HANDLER, useValue: handleHttpErrors }
],
declarations: [],
bootstrap: [],
})
export class AppModule {}
As you can see I'm directly redirecting to login
Hi
We're not configured like that, angular project in the our template. It would be better If you send a gif / video because I didn't get it problem exactly, as far as I understand your problem's solution in this DOCUMENT
Hi ed sorry for late reply,
2 In Angular application if we navigate to any component then #/ has to be suffixed without which application gives 404 page not found. Can we get rid of #.
Have you also configure like below ? You can check detail HERE
Hi chandler,
I created an Issue for this situation, that's why I'm closing this question