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

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
Supports Markdown
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