Commit 9542926a authored by Vitali Stupin's avatar Vitali Stupin

fixing translation loader

parent 1d3346c4
......@@ -41,5 +41,6 @@ import { HeaderComponent } from './header/header.component';
export class AppModule { }
export function HttpLoaderFactory(http: HttpClient) {
return new TranslateHttpLoader(http);
// Providing path as a workaround for ngx-translate bug with --base-href option
return new TranslateHttpLoader(http, './assets/i18n/');
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment