Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

Commit

Permalink
Revert "fix(HttpLoader): loading of translations when base-href is se…
Browse files Browse the repository at this point in the history
…t" (#27)

This reverts commit c801802.
  • Loading branch information
ocombe committed Sep 13, 2017
1 parent c801802 commit 783d58e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {TranslateLoader} from "@ngx-translate/core";
import "rxjs/add/operator/map";

export class TranslateHttpLoader implements TranslateLoader {
constructor(private http: HttpClient, public prefix: string = "./assets/i18n/", public suffix: string = ".json") {}
constructor(private http: HttpClient, public prefix: string = "/assets/i18n/", public suffix: string = ".json") {}

/**
* Gets the translations from the server
Expand Down

0 comments on commit 783d58e

Please sign in to comment.