update
This commit is contained in:
@@ -22,7 +22,7 @@ export class HtmlComponent implements OnInit {
|
||||
const headers = new HttpHeaders()
|
||||
.set('content-type', 'text/html');
|
||||
this.httpClient.get(
|
||||
'./assets/templates/' + this.template + (this.locale ? "." + this.locale : "") + ".html",
|
||||
'./assets/templates/' + (this.locale ? this.locale + "/" : "") + this.template + ".html",
|
||||
{
|
||||
headers: headers,
|
||||
responseType: 'text'
|
||||
|
||||
Reference in New Issue
Block a user