mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-12-08 16:26:13 +00:00
(transloco) Fixed: Language files cannot be loaded if using a base href other than "/"
This commit is contained in:
@@ -27,6 +27,6 @@ export class TranslocoHttpLoader implements TranslocoLoader
|
||||
*/
|
||||
getTranslation(lang: string): Observable<Translation>
|
||||
{
|
||||
return this._httpClient.get<Translation>(`/assets/i18n/${lang}.json`);
|
||||
return this._httpClient.get<Translation>(`./assets/i18n/${lang}.json`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user