Просмотр исходного кода

Merge pull request #154 from lsimone/fix/i18n

fix(i18n): Leading slash fot i18n bundles is redundant
Michael Bromley 6 лет назад
Родитель
Сommit
62bbffc95c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      admin-ui/src/app/app.module.ts

+ 1 - 1
admin-ui/src/app/app.module.ts

@@ -22,7 +22,7 @@ export class BaseHrefHolder {
 export function HttpLoaderFactory(http: HttpClient, location: PlatformLocation) {
     // Dynamically get the baseHref, which is configured in the angular.json file
     const baseHref = location.getBaseHrefFromDOM();
-    return new CustomHttpTranslationLoader(http, baseHref + '/i18n-messages/');
+    return new CustomHttpTranslationLoader(http, baseHref + 'i18n-messages/');
 }
 
 @NgModule({