Kaynağa Gözat

fix(i18n): Leading slash fot i18n bundles is redundant

Lorenzo Simone 6 yıl önce
ebeveyn
işleme
062a8b0f98
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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({