Commit f3b1df028341cb0b3253d0f208f8b669d8530c2d
1 parent
f41d49d9a2
Exists in
master
and in
1 other branch
src de imagenes apuntando a la api.
Showing
2 changed files
with
5 additions
and
2 deletions
Show diff stats
src/app/components/header/header.component.html
1 | 1 | <div class="row bg-light p-4 justify-content-between"> |
2 | 2 | <div class="col-auto"> |
3 | - <img src="../../../assets/img/logoaxion.png" alt=""> | |
3 | + <img src="{{apiUrl}}/imagenes/logoaxion.png"> | |
4 | 4 | </div> |
5 | 5 | <div class="col-auto"> |
6 | - <img src="../../../assets/img/logodebo.png" alt=""> | |
6 | + <img src="{{apiUrl}}/imagenes/logodebo.png"> | |
7 | 7 | </div> |
8 | 8 | </div> |
src/app/components/header/header.component.ts
1 | 1 | import { Component, OnInit } from '@angular/core'; |
2 | +import { appSettings } from 'src/etc/AppSettings'; | |
2 | 3 | |
3 | 4 | @Component({ |
4 | 5 | selector: 'app-header', |
... | ... | @@ -7,6 +8,8 @@ import { Component, OnInit } from '@angular/core'; |
7 | 8 | }) |
8 | 9 | export class HeaderComponent implements OnInit { |
9 | 10 | |
11 | + private apiUrl : string = appSettings.apiUrl; | |
12 | + | |
10 | 13 | constructor() { } |
11 | 14 | |
12 | 15 | ngOnInit() { |