Fix translations loading

This commit is contained in:
Matteo Gheza 2022-03-12 00:03:19 +01:00
parent f761544cd3
commit 61bf319b0d
1 changed files with 1 additions and 1 deletions

View File

@ -88,5 +88,5 @@ import { AuthInterceptor } from './_providers/auth-interceptor.provider';
export class AppModule { }
export function HttpLoaderFactory(http: HttpClient): TranslateHttpLoader {
return new TranslateHttpLoader(http);
return new TranslateHttpLoader(http, './assets/i18n/', '.json');
}