mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-08 03:25:08 +00:00
(transloco) Fixed: Language files cannot be loaded if using a base href other than "/"
This commit is contained in:
parent
8080a85d40
commit
4b8a101a3e
|
@ -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`);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user