소스 검색

Merge pull request #154 from lsimone/fix/i18n

fix(i18n): Leading slash fot i18n bundles is redundant
Michael Bromley 6 년 전
부모
커밋
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) {
 export function HttpLoaderFactory(http: HttpClient, location: PlatformLocation) {
     // Dynamically get the baseHref, which is configured in the angular.json file
     // Dynamically get the baseHref, which is configured in the angular.json file
     const baseHref = location.getBaseHrefFromDOM();
     const baseHref = location.getBaseHrefFromDOM();
-    return new CustomHttpTranslationLoader(http, baseHref + '/i18n-messages/');
+    return new CustomHttpTranslationLoader(http, baseHref + 'i18n-messages/');
 }
 }
 
 
 @NgModule({
 @NgModule({