diff --git a/angular/src/app/_helpers/fakeBackendInterceptor.ts b/angular/src/app/_helpers/fakeBackendInterceptor.ts index fe472f0b..0cd8118d 100644 --- a/angular/src/app/_helpers/fakeBackendInterceptor.ts +++ b/angular/src/app/_helpers/fakeBackendInterceptor.ts @@ -44,7 +44,9 @@ export class FakeBackendInterceptor implements HttpInterceptor { // wrap in delayed observable to simulate server api call return of(null).pipe(mergeMap(() => { - console.log("request.url", request.url); + alert("You are using fake backend!"); + + console.log("request.url", request.url); // RPA if (request.url.indexOf('/rpa') > -1 && request.method === 'GET') { diff --git a/angular/src/app/app.module.ts b/angular/src/app/app.module.ts index c3bc3610..c287fd18 100644 --- a/angular/src/app/app.module.ts +++ b/angular/src/app/app.module.ts @@ -77,7 +77,7 @@ enableProdMode(); { provide: ErrorHandler, useClass: AppErrorHandler }, GoogleAnalyticsService, D3Service, - fakeBackendProvider, + // fakeBackendProvider, DatePipe ], schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA]