Browse Source

Corrigo directorio de fotos y aumento versión

politica
Celestino Rey 1 year ago
parent
commit
a6c0913daa
3 changed files with 5 additions and 5 deletions
  1. +1
    -1
      LyricsPy/K8S/lyrics-deployment.yaml
  2. +2
    -2
      LyricsPy/servicios/creaImagen.sh
  3. +2
    -2
      LyricsPy/servicios/lyrics/templates/_cabecera.html

+ 1
- 1
LyricsPy/K8S/lyrics-deployment.yaml View File

@ -36,7 +36,7 @@ spec:
- --bind
- 0.0.0.0:5000
- lyrics:create_app()
image: creylopez/lyrics:6.1
image: creylopez/lyrics:6.2
name: lyrics
ports:
- containerPort: 5000


+ 2
- 2
LyricsPy/servicios/creaImagen.sh View File

@ -1,3 +1,3 @@
docker build --no-cache -t creylopez/lyrics:6.1 .
docker push creylopez/lyrics:6.1
docker build --no-cache -t creylopez/lyrics:6.2 .
docker push creylopez/lyrics:6.2

+ 2
- 2
LyricsPy/servicios/lyrics/templates/_cabecera.html View File

@ -10,11 +10,11 @@
</a>
</div><!--//col-->
<div class="app-utilities col-auto">
<div class="app-utility-item app-user-dropdown dropdown">
{% if current_user.is_authenticated %}
<a class="dropdown-toggle" id="user-dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false"><img src="{{ url_for('static', filename=current_user.photo) }}" alt="user profile"></a>
<a class="dropdown-toggle" id="user-dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false"><img src="{{ url_for('paginas.uploaded_file', filename=current_user.photo) }}" alt="user profile"></a>
{% else %}
<a class="dropdown-toggle" id="user-dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false"><img src="{{ url_for('static', filename='images/reymota-logo.svg') }}" alt="user profile"></a>
{% endif %}


Loading…
Cancel
Save