committed by
styve Lioumba
parent
1dc1109482
commit
4fb600b0cb
@@ -10,6 +10,7 @@ import {
|
||||
import {routes} from './app.routes';
|
||||
import {provideHttpClient, withFetch} from "@angular/common/http";
|
||||
import {provideAnimations} from "@angular/platform-browser/animations";
|
||||
import {provideToastr} from "ngx-toastr";
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [
|
||||
@@ -24,6 +25,11 @@ export const appConfig: ApplicationConfig = {
|
||||
}
|
||||
)),
|
||||
provideAnimations(),
|
||||
provideHttpClient(withFetch())
|
||||
provideHttpClient(withFetch()),
|
||||
provideToastr({
|
||||
timeOut: 10000,
|
||||
positionClass: 'toast-top-right',
|
||||
preventDuplicates: true,
|
||||
}), // Toastr providers
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user